Viewing 15 posts - 1,876 through 1,890 (of 1,957 total)
Lynn Pettis (3/11/2010)
March 11, 2010 at 2:31 pm
Thanks steve, and as for themes, you mention queries looking like skyscrapers.....
Attached is my execution plan - looks amazing like a chef's knife - perfect for slicing through the data....:-P
March 11, 2010 at 1:23 pm
mister.magoo (3/8/2010)
I have given in to curiosity and set off THE TRILLION - should be done in a few days I guess?
CPU time = 228886430 ms, elapsed time...
March 11, 2010 at 12:35 pm
Isn't it just
exec sp_blah 'hardcodedvalue', 'hardcodedvalue', @ClientID
?
March 11, 2010 at 7:33 am
sharon.bender (3/9/2010)
...
However, later in the trigger, Server A sends an Insert...
March 10, 2010 at 4:28 pm
I have given in to curiosity and set off THE TRILLION - should be done in a few days I guess?
March 8, 2010 at 6:15 pm
@steve-2 - congrats - I think you have the record - I can't think anyone else will even attempt THE TRILLION after seeing it takes that long!
March 5, 2010 at 3:56 pm
Without test data to work on this is difficult, but I think you are after something like this:
;WITH
FieldNames AS
( -- this is your list of dupes
SELECT FieldName FROM...
March 4, 2010 at 5:55 pm
It all depends on how you decide which ones to keep...if you can write a query to select the IDs you want to keep then it is easy to use...
March 4, 2010 at 5:39 pm
@BaldingLoopMan : That is exactly the same as this...
SELECT TOP 20
NAME,
object_id,
( SELECT COUNT(*) FROM sys.columns C where C.object_id=T.object_id )...
March 4, 2010 at 4:17 pm
There is no straightforward answer as we cannot possibly know which ones you want to keep...
You can get the list of them , so you can use that to get...
March 4, 2010 at 4:02 pm
balbirsinghsodhi (3/3/2010)
March 3, 2010 at 5:42 pm
steve-893342 (3/3/2010)
I've had a look at comparing against my query and it sure is a close one to call.
Re the...
March 3, 2010 at 5:01 am
steve-893342 (3/2/2010)
I experimented with those union queries but couldn't find the right one, probably having too many unions or too few. Did you arrive at 32...
March 3, 2010 at 4:37 am
@jason - thanks.
@steve-2 - yes - just about to try it, but I am not sure if my laptop will have enough memory - have you...
March 2, 2010 at 5:44 pm
Viewing 15 posts - 1,876 through 1,890 (of 1,957 total)