Viewing 15 posts - 2,731 through 2,745 (of 13,461 total)
well, SQL requires a paridigm shift here: you process everything in a set, and not loops;
there's a phrase in SQL called RBAR (Ree-bar) meaning Row By Agonizing Row, which is...
December 23, 2013 at 6:15 am
I modified this from somethign i saved in my snippets that is associated to the same issue: split a string on a specific number of character lengths.
if you search for...
December 23, 2013 at 5:52 am
Sean Lange (12/20/2013)
And that code is all Lowell, I merely made a extremely minor modification to it. All kudos belong to Lowell.
well, i dunno about the kudos, but thank you,...
December 20, 2013 at 12:08 pm
the extra STUFF is how most of us remove the delimiter;
while in this case, you could use LTRIM becasue we used a space, for any other delimiter(comma delimiter, pipes,...
December 20, 2013 at 11:27 am
ok i have this example in my snippets for turning CamelCase into a single string with spaces:
now, if each word becomes a column unto itself, that's tougher...
that would have to...
December 20, 2013 at 8:38 am
GilaMonster (12/20/2013)
Lowell (12/20/2013)
December 20, 2013 at 6:20 am
Oracle_91 (12/20/2013)
Assuming the query execution is slow , I have collected the actual execution plan. What should I look for in the actual execution plan . What are the...
December 20, 2013 at 6:03 am
a backup will almost always be larger than the maximum allowed attachment size for most mail servers; of the two mail servers i use, one has a limit of 4...
December 20, 2013 at 5:43 am
ramana3327 (12/19/2013)
December 20, 2013 at 2:53 am
it's an oracle function that you'd access via a linked server then?
that's a different story, i must have missed that part.
you have a linked server in place already?
ie, from SSMS,...
December 19, 2013 at 9:14 am
you need to use a three part naming conventions which includes the schema:
testdb.dbo.Rfunctioname
testdb..Rfunctioname
you also may run into permissions problems, as the person calling the procedure or code needs access to...
December 19, 2013 at 8:48 am
i would go with explicitly identifying the collation in the statement;
here's some code examples you can copy and paste to see the issues:
an empty table with no data at all...
December 19, 2013 at 6:05 am
i had to wrap you r example a couple of times to get it to return an empty string instead of null;
does this help at all?
declare @id int
set @id...
December 19, 2013 at 5:53 am
there's a good article here on SSC by Brian Kelly that covers allof the tools i've ever used for finding sql servers:
Tools I Use to Scan for SQL...
December 19, 2013 at 5:39 am
Luis's /Seans's suggestions will perform the best;
if you want to stick with a scalar function, this post has a function fn_parsename, which fidns values form left-to-right, where the original parsename...
December 18, 2013 at 12:52 pm
Viewing 15 posts - 2,731 through 2,745 (of 13,461 total)