Viewing 15 posts - 766 through 780 (of 49,571 total)
Please note: 7 year old thread.
A SELECT without modifications doesn't have to roll back, as there's nothing to undo. It won't stop instantly, but it doesn't rollback. If,...
September 19, 2017 at 12:02 pm
September 19, 2017 at 11:57 am
September 19, 2017 at 11:49 am
September 19, 2017 at 11:44 am
Please note: 6 year old thread.
And yes, changing the timeout from 30 seconds to 5 minutes may stop it timing out, but it's not fixing the problem (slow...
September 19, 2017 at 11:42 am
September 18, 2017 at 2:08 pm
I shouldn't post when I'm exhausted. Saw the @ and brain interpreted as a parameter.
September 18, 2017 at 9:04 am
204 is not a problematic number. I wouldn't worry with that number. Several thousands is where I'd probably start to worry
If you do want to fix it, neither...
September 18, 2017 at 7:55 am
I probably wouldn't consider sparse without having 95%+ being null and having a good number of the columns in the table mbeing mostly null. It's a feature with a specific...
September 18, 2017 at 7:48 am
The first has to read the Dept table once (for the join), the second has to read it twice (once for each subquery). The first is easier to read and...
September 18, 2017 at 7:41 am
September 18, 2017 at 7:40 am
You've got a catch-all type query. They're slow (and writing the WHERE clause in a more complicated form doesn't make that any better)
https://www.simple-talk.com/sql/t-sql-programming/how-to-confuse-the-sql-server-query-optimizer/
WITH RECOMPILE...
September 18, 2017 at 7:40 am
September 14, 2017 at 12:24 pm
Viewing 15 posts - 766 through 780 (of 49,571 total)