Viewing 15 posts - 49,771 through 49,785 (of 59,099 total)
You can use a similar method in 2k, but you'll need to insert into a temporary table that has an IDENTITY column so that you get sequential numbers.
What you're looking...
--Jeff Moden
Change is inevitable... Change for the better is not.
June 24, 2008 at 7:29 am
Yep... suggestion is that you post the code that has the problem insert so we can see what you're actually doing and post the text from the actual error so...
--Jeff Moden
Change is inevitable... Change for the better is not.
June 24, 2008 at 7:18 am
I agree with Stephanie... you really need to find out both the what and the why... if they intend to use only numerics with leading zero's ... forever... then store...
--Jeff Moden
Change is inevitable... Change for the better is not.
June 24, 2008 at 6:20 am
Sound like you've got a pretty good plan...
Deleting from last month is easy... Let's change the definition just a bit to make this even more simple... you want to...
--Jeff Moden
Change is inevitable... Change for the better is not.
June 24, 2008 at 6:13 am
I'd try to help... but I can't even spell SSRS, yet. Sorry...
--Jeff Moden
Change is inevitable... Change for the better is not.
June 24, 2008 at 5:59 am
Manie Verster (6/24/2008)
I downloaded on of your books on SQLServerCentral named SQL Server DBA Best Practices
Manie... what's the page link to get to that download?
--Jeff Moden
Change is inevitable... Change for the better is not.
June 24, 2008 at 5:56 am
I've been having good success with DTA on set based code. Sometimes it's recommendations don't actually speed anything up but, as some have said about other tools, it's a...
--Jeff Moden
Change is inevitable... Change for the better is not.
June 24, 2008 at 5:37 am
venki (6/23/2008)
I am pulling the data i.e recordset by written a query from different tables.
I supposed to modify...
--Jeff Moden
Change is inevitable... Change for the better is not.
June 23, 2008 at 10:32 am
GilaMonster (6/23/2008)
Yup, though you can still get a stats-based recompile from the temp table, sometimes even more than once.
So... wouldn't that be a Catch-22? Optimizer says "I need a...
--Jeff Moden
Change is inevitable... Change for the better is not.
June 23, 2008 at 10:29 am
GilaMonster (6/23/2008)
The main advantage I've seen for table vars is that they don't cause a stored proc to recompile.
That's pretty important for GUI code... which I normally don't write....
--Jeff Moden
Change is inevitable... Change for the better is not.
June 23, 2008 at 10:15 am
JJ B (6/23/2008)
- Jeannine Jennifer Bienn.
. According to family legend (my...
--Jeff Moden
Change is inevitable... Change for the better is not.
June 23, 2008 at 10:10 am
JJ B... (Jar-Jar Binks???)
When you go to post code, take a look at the "IFCode Shortcuts" just to the left of the Edit window... click on the "code" pair there...
--Jeff Moden
Change is inevitable... Change for the better is not.
June 23, 2008 at 9:31 am
Yeah... I know... Microsoft is pretty much non commital when it comes to stuff like that because the amount of memory and the I/O system will make it vary quite...
--Jeff Moden
Change is inevitable... Change for the better is not.
June 23, 2008 at 9:01 am
Heh... Embarassingly simple. Thanks Stacey.
Mobasha... that's gotta be as good as deleting SA... still, your users are going to know that you can give SA privs to any login......
--Jeff Moden
Change is inevitable... Change for the better is not.
June 23, 2008 at 8:54 am
By the way, Peter... you machine is about twice as fast as more poor ol' 6 year old single processor 1.8 GHz box... what are you using?
--Jeff Moden
Change is inevitable... Change for the better is not.
June 23, 2008 at 8:48 am
Viewing 15 posts - 49,771 through 49,785 (of 59,099 total)