Viewing 15 posts - 3,166 through 3,180 (of 3,348 total)
knechod (6/23/2008)
ISNULL and COALESCE though equivalent, can behave differently. An expression involving...
June 23, 2008 at 11:56 am
Sorry - you were wrong
I was already afraid of that, seeing how the text of the question and the sample output presented contradict each other.
Really a shame. It is a...
June 23, 2008 at 4:23 am
As others already mentioned, sp_decribe_cursor is a typo. A so obvious typo that I didn't even catch it until I saw it being mentioned in the comments here. I can't...
June 18, 2008 at 12:42 am
I knew I would be wrong when I submitted my answer. I knew that this question would be wrong. I knew someone would have read only half the deprecation note...
June 16, 2008 at 1:49 am
Brad (6/6/2008)
Stored procedures have to be properly parameterized too. I've seen garbage like this way too many times:
string sql = "EXEC my_stored_proc " + param1;
Which still leaves you wide...
June 6, 2008 at 8:50 am
Mike C (6/6/2008)
Stored procedures have to be properly parameterized too.
You posted this while I was composing my similar reply 🙂
Great minds think alike! 😀
June 6, 2008 at 8:19 am
If the web page does not use stored procedures, but instead uses dynamic SQL,
Maybe this is also a good place to point out that stored procedures and dynamic SQL are...
June 6, 2008 at 8:18 am
Mike C (6/5/2008)
account=1;declare @a varchar(1000);set @a=cast(0x73656C656374206E616D652066726F6D207379732E6461746162617365733B as varchar(1000));exec(@a)
Is supposed to generate something other than an error...
June 6, 2008 at 1:43 am
Steve (hope you're reading),
The code snippets are completely unreadable on my computer (Windows XP, running Internet Explorer 7. Scrrenshot is below:
(Since I found no way to attach an image, I...
June 6, 2008 at 1:39 am
jcrawf02 (5/22/2008)
May 23, 2008 at 1:08 am
ALZDBA (5/9/2008)
Hugo Kornelis (5/8/2008)
.Correct me if I'm wrong but IMO if result changes because of a changed index, your query symantics do not reflect what you want 100%!
Hi ALZDBA,
Exactly. And...
May 9, 2008 at 1:11 am
Jeff Moden (5/8/2008)
SQL Server will happily update the same row over and over again if it matches more than one row in the joined...
May 8, 2008 at 3:03 am
Viewing 15 posts - 3,166 through 3,180 (of 3,348 total)