Viewing 5 posts - 1 through 5 (of 5 total)
I run the query below for only 100 records and it runs for 5 mins plus. I had to cancel. When I run the Select without ca.HDDSUM AS TOTHDD...
January 19, 2012 at 4:13 pm
Your query is only referencing @introwno ones instead of referencing all rows in the staging table without having to loop through each row.
January 18, 2012 at 7:55 pm
Thanks, Kraig,
I'll test the query and get back with you soon.
Sam :discuss:
January 18, 2012 at 7:51 pm
I'm quite sure the sub-selects are slowing execution. I'll replace them with the joins and let you know how it goes.
January 18, 2012 at 7:14 pm
Thanks, Craig I'll try out this statement and let you know how it goes.
January 18, 2012 at 7:12 pm
Viewing 5 posts - 1 through 5 (of 5 total)