Viewing 15 posts - 44,821 through 44,835 (of 59,063 total)
Lynn Pettis (3/3/2009)
Jeff Moden (3/3/2009)
Lynn Pettis (3/3/2009)
March 3, 2009 at 9:57 pm
Samuel Vella (2/26/2009)
mh, your solution is fine but when you test it with a lot of data against a cursor, the cursor is orders of magnitude faster
Man, you have absolutely...
March 3, 2009 at 9:56 pm
beezell (3/3/2009)
Hmmm... there are very few scenarios where I've seen cursors faster than CTE or non-RBAR (row by agonizing row) methods. Just curious how many rows you're running through?Cheers,
Brian
That's...
March 3, 2009 at 9:20 pm
Lynn Pettis (3/3/2009)
March 3, 2009 at 9:14 pm
Samuel Vella (2/24/2009)
March 3, 2009 at 8:19 pm
nymgk_75 (3/3/2009)
IF EXISTS (SELECT * FROM tempdb..sysobjects WHERE name LIKE '#FileSpaceStats%')BEGIN
DROP TABLE #FileSpaceStats
END
Thanks
Ugh! That's actually the wrong way to do it. Here's the correct way... it...
March 3, 2009 at 8:09 pm
I can show you a little performance trick (big one, actually) but I need to know which table the following column is in...
...
March 3, 2009 at 8:02 pm
Heh... why can't you just remove the GO's?
March 3, 2009 at 7:57 pm
I believe the question is how to capture/audit all rows from all tables anytime any of them suffers an insert/update/delete.
And, I agree... it's either the language barrier getting to me...
March 3, 2009 at 7:55 pm
Dang smiley faces... I wish they wouldn't show up in code windows but still show in the rest of the post if desired. If you want to get rid...
March 3, 2009 at 7:46 pm
Table B looks like a typical "mapping" table in a many-to-many relation ship. It must be populated manually since there's no way to accomplish the task automatically short of...
March 3, 2009 at 7:43 pm
So you're trying to delete 300/30 or about 10 million rows per day? If you only delete 1000 rows every 10 minutes, that means that you would need 10,000...
March 3, 2009 at 7:31 pm
tuyetmuadong (3/3/2009)
I want to distinct value on one column, but get all column of data. How is query in SQL 2000 ?
For example: I have a table PK003_INDEX(LINK,...
March 3, 2009 at 7:19 pm
Thomas Mick (3/3/2009)
March 3, 2009 at 7:16 pm
barunpathak (3/2/2009)
Outer APPLY worked guys. Thats a bunch for your help.
Two way street here... post your final code so we can enjoy it, please. 😉
March 3, 2009 at 7:09 pm
Viewing 15 posts - 44,821 through 44,835 (of 59,063 total)