Viewing 15 posts - 43,891 through 43,905 (of 49,571 total)
Marios Philippopoulos (4/9/2008)
October 11, 2008 at 2:05 pm
PaulB (10/11/2008)
1- You do not "fail the entire load", that's just crazy. You reject the failed row/s and report them back to whoever you have to report them.
Then we have...
October 11, 2008 at 1:14 pm
Someone ran a script with a whole lot of truncate and drop statements in it?
SQL doesn't randomly go and drop tables. Someone would have had to do it.
I've seen...
October 11, 2008 at 1:02 pm
I'm reading your posts just fine, thank you.
I don't see why I would want to fail the entire load if I know there's dups in the source data that, for...
October 11, 2008 at 12:55 pm
ronefrati (10/11/2008)
October 11, 2008 at 12:50 pm
PaulB (10/11/2008)
Jeff, by definition you do not delete on staging tables;
By what definition?
A delete on a staging table is like saying "I don't care about this row coming from...
October 11, 2008 at 12:33 pm
Jeff Moden (10/11/2008)
... and, here's the tests... these work on both 2k and 2k5. According to Gail's fine blog, some of these tests will not work on 2k8 (which...
October 11, 2008 at 12:25 pm
Well, as the error says, CURRENT OF is only allowed for updates and deletes. You use FETCH to get values into variables. Fetch isn't always next. You can get the...
October 11, 2008 at 8:55 am
Or, since you're using 2005 you can simply use
SELECT name from sys.databases where state = 'OFFLINE'
October 11, 2008 at 8:42 am
No way to know directly. If you need that info, you'll have to add a piece of code to each proc to log when it last ran. Can't do that...
October 11, 2008 at 8:40 am
A trigger always runs within the context of the transaction started by the statement that fired it. If you issue a rollback statement within a trigger you will roll back...
October 11, 2008 at 8:40 am
Look in Books Online for the index architecture. You'll notice that the index is in the form of a tree. The 4 rows refer to different levels of the index....
October 11, 2008 at 8:35 am
More than slightly better...
http://sqlinthewild.co.za/index.php/2008/09/04/comparing-date-truncations/
October 11, 2008 at 8:24 am
October 11, 2008 at 8:22 am
PaulB (10/11/2008)
you know for a fact uniqueness is enforced on the source dataset
I wish all the source data that I had to work with was as clean as...
October 11, 2008 at 8:21 am
Viewing 15 posts - 43,891 through 43,905 (of 49,571 total)