Viewing 15 posts - 121 through 135 (of 458 total)
I don't think it should make any difference, as the optimiser will/should work out the best order to execute the joins. So both queries should have the same execution...
January 13, 2020 at 4:49 pm
I did the bit of disabling and re-enabling the trigger, but still had problems with the text getting populated correctly. I then discovered a bug in my trigger. The condition...
October 30, 2019 at 8:54 pm
You mean it tries to insert all the rows at once, and only AFTER they are all inserted, does the trigger begin its work?
Yes.
Ah, thank you. That explains it....
October 30, 2019 at 11:22 am
I wonder if maybe it would be more effective to disable the index on this field, do the import and then re-enable the index. Under normal conditions, only one record...
October 30, 2019 at 10:36 am
You mean it tries to insert all the rows at once, and only AFTER they are all inserted, does the trigger begin its work?
October 30, 2019 at 10:06 am
That's what the trigger is supposed to do - on insert, it fills in the CompleteTaxonText column. And it does, when I insert manually, or loop through the insert recordset...
October 30, 2019 at 9:29 am
Thank you for the thoughts. I am not the only user - if I was, I would just leave it. I am the only developer/DBA. The system has around ten...
October 10, 2019 at 6:04 pm
Operacní systém Microsoft® Windows Server® 2008 Standard
Verze 6.0.6003 Service Pack 2 Sestavení 6003
Další popis systému Není k dispozici
Výrobce systému Microsoft Corporation
Název systému PALEO-SERVER
Výrobce systému HP
Model systému ProLiant ML350 G5
Typ systému...
October 7, 2019 at 9:09 pm
I also think it's 2008, although it doesn't say that in the properties window. But that's when the machine is from.
That is one of the things I am wondering, if...
October 7, 2019 at 8:04 pm
Ah, that looks useful. Thank you.
September 20, 2019 at 5:16 pm
Good call - that works well. With the index on ID disabled, it is roughly a minute, the same as the original 'bad' version. But with the SSMS-suggested index in...
September 12, 2019 at 6:17 pm
Grant: "The other is the need to filter after the XML is put together."
Do you mean that it materializes the ENTIRE resultset into one giant XML construct, and then checks...
September 12, 2019 at 3:06 pm
I'm still unclear about something, though. Grant, you wrote "...all it takes is a single match and EXISTS stops executing...", which is exactly what I thought EXISTS does, which is...
September 12, 2019 at 10:20 am
Thank you both for looking at this. Another spanking for me by SQL Server - what else is new? But it's not going to be that much work to make...
September 11, 2019 at 7:38 pm
1+ seconds for such a thing is not "quickly" nor resource friendly IMHO
True, one second is not great, but for my purposes, in this application, it was good enough -...
September 11, 2019 at 7:34 pm
Viewing 15 posts - 121 through 135 (of 458 total)