Viewing 15 posts - 48,946 through 48,960 (of 59,065 total)
maruf24 (8/3/2008)
when i...
August 3, 2008 at 4:53 pm
Jeffrey Williams (8/3/2008)
August 3, 2008 at 4:38 pm
Jeffrey Williams (8/3/2008)
August 3, 2008 at 4:34 pm
Sorry, was in a hurry. I should have posted them (more than 1) without even being asked.
There are a couple of ways to do it... the method with the...
August 3, 2008 at 10:23 am
koosubscriptions (8/3/2008)
Is there any performance cost compare with if the query already exists?Thank you.
Probably not... it would probably recompile even if it were hard coded just because of data changes...
August 3, 2008 at 10:00 am
That will work just fine, but only if a single row is inserted at a time. If there's a chance that more than 1 row can be inserted at...
August 3, 2008 at 9:54 am
For what? The original code you posted?
If so, why not just insert the header information in a set based manner and then use that information to control another set...
August 3, 2008 at 9:41 am
Barry... you might want to look for the word "Cursor" in the above script... 😀 Heh, late nite posts get me, too! 😉
Other than that, nice conversion! 🙂
August 3, 2008 at 9:17 am
vkres1 (8/2/2008)
Jeff,rbarryyoung is telling it is eaier with identity column. Do you know how to figure out with
identity column?looks like clustered index is not guaranteed as you said. any idea
Thx
rbarryyoung...
August 3, 2008 at 9:12 am
rbarryyoung (8/2/2008)
Jeff Moden (8/2/2008)
The DBA was nothing but a BSOFH.;)Uuuhh, ... "Big Stupid Old Fart-Head"?
Heh... Ummm... no... what's your user name again? 😉
http://members.iinet.net.au/~bofh/bofh/bofh2.html
http://members.iinet.net.au/~bofh/
The "SO" stands for "SysOP"... you can figure...
August 2, 2008 at 11:05 pm
vkres1,
Forget about the identity column... if you want to store the data in the correct physical order, then put a clustered index on the column(s) that you want the data...
August 2, 2008 at 10:46 pm
rbarryyoung (8/2/2008)
Of course, the order problem can be easily remedied if you just add an Identity column. 🙂
I don't think it will, especially if parallelism kicks in. If...
August 2, 2008 at 10:31 pm
Ummm... you're missing the point a bit. The order in which something is inserted doesn't really matter in an RDBMS. Why do you think you need a "natural...
August 2, 2008 at 2:54 pm
Viewing 15 posts - 48,946 through 48,960 (of 59,065 total)