Viewing 15 posts - 54,151 through 54,165 (of 59,072 total)
I'd only be regurgitating what's in Books Online... recommend you lookup "DELETE" in Books Online for a full explanation of SQL Server's proprietary and nasty fast DELETE. You might...
--Jeff Moden
Change is inevitable... Change for the better is not.
November 12, 2007 at 11:55 pm
Things like this are normally simple syntax errors... of course, no one can troubleshoot that for you because you didn't post any code 😉
--Jeff Moden
Change is inevitable... Change for the better is not.
November 12, 2007 at 11:53 pm
p.s. In English, they are "single quotes"...
--Jeff Moden
Change is inevitable... Change for the better is not.
November 12, 2007 at 11:51 pm
SELECT QUOTENAME(3,'''')
--Jeff Moden
Change is inevitable... Change for the better is not.
November 12, 2007 at 11:49 pm
Oh, I understand what you want to do... but why do you want to do this to perfectly good data? Why do you need all of 1 person's info...
--Jeff Moden
Change is inevitable... Change for the better is not.
November 12, 2007 at 11:47 pm
Now I remember... it's called "Parameter Sniffing" and, apparently, it can crush otherwise effecient code. Lots of good info on the Web about it... Google it...
--Jeff Moden
Change is inevitable... Change for the better is not.
November 12, 2007 at 11:36 pm
Of course it's going to take some time... your sproc has four relatively large SELECTS and they ALL must be recompiled even if only one is going to be used...
The...
--Jeff Moden
Change is inevitable... Change for the better is not.
November 12, 2007 at 11:31 pm
Ummmm.... you know what SUM is... do you know what COUNT is?
--Jeff Moden
Change is inevitable... Change for the better is not.
November 12, 2007 at 11:03 pm
I've never understood this... a 300GB hard drive costs about $110 and a 500GB hard drive costs only about $140. Your database is going to do nothing but to...
--Jeff Moden
Change is inevitable... Change for the better is not.
November 12, 2007 at 11:00 pm
Very urgent normally means "I'm on an interview" or "I'm taking a test" or "I have homework due tomorrow"... what's your situation 😉
--Jeff Moden
Change is inevitable... Change for the better is not.
November 12, 2007 at 10:49 pm
Why does anyone think that SQL Server Express can handle the Enterprise quality/size of 2k5 databases? You've probably violated at least one size limit and Lord knows what else...
--Jeff Moden
Change is inevitable... Change for the better is not.
November 12, 2007 at 10:47 pm
There must be a couple million posts on how to do something like this... and, most of them are a bad use of SQL 'cause this is a form of...
--Jeff Moden
Change is inevitable... Change for the better is not.
November 12, 2007 at 10:43 pm
I just got done doing a conversion for "unlimited scalability" using a (yeeeeaaacchh!) Cursor (haaaaaaaaaack! Patoooooiiiii!)... it takes 17 times longer to run even though I wrote it as a...
--Jeff Moden
Change is inevitable... Change for the better is not.
November 12, 2007 at 10:37 pm
And, unless you're going to put the sproc in the Master database, don't use sp_ as the beginning of the sproc name.
--Jeff Moden
Change is inevitable... Change for the better is not.
November 12, 2007 at 10:27 pm
Remove the DROP TABLE and the GO... then, it should work as a sproc.
--Jeff Moden
Change is inevitable... Change for the better is not.
November 12, 2007 at 10:26 pm
Viewing 15 posts - 54,151 through 54,165 (of 59,072 total)