Viewing 15 posts - 1,726 through 1,740 (of 7,187 total)
March 3, 2017 at 7:07 am
Yeah, I get the same on 2014 Developer. And I can't find any authoritative reference for the 100 row thing, either. Hmmmm.
John
March 3, 2017 at 5:59 am
Yes, lack of statistics on table variables is likely to lead to inappropriate memory grants and inefficient plan choices. Since SQL Server 2014, the query optimizer estimates the number of...
March 3, 2017 at 3:00 am
March 3, 2017 at 2:54 am
Try this:
WITH Factorials (Number, Factorial) AS (
SELECT 1, 1 UNION ALL
SELECT 2, 2 UNION ALL
SELECT...
March 2, 2017 at 10:05 am
Absolutely. I don't imagine the user is going to think any the worse of you if you tell him what you suspect the problem is but that you need to...
March 2, 2017 at 8:00 am
March 2, 2017 at 7:48 am
I can't explain why it runs quicker without the TOP 1000, but does he really need every column? That must be an awful lot of data being dragged across the...
March 2, 2017 at 7:36 am
The only answer is to consult the documentation for the application, or raise a support call with the vendor.
John
March 2, 2017 at 7:16 am
Why don't use you just delete from the referencing table first? Then you don't have to worry about disabling or enabling anything, and you can do it with little or...
March 2, 2017 at 4:41 am
Thom is right - a calendar table is the way to go. You can use it again and again, and you can customise it with stuff like public holidays. However,...
March 2, 2017 at 4:23 am
I agree with Gail. Don't forget there are only two RDP connections to each server, and if someone wants to do some genuine maintenance work, they don't want to have...
March 1, 2017 at 4:41 am
Possibly a parameter sniffing problem. Why are you staging the parameter values in @meter_table instead of passing them directly to the function?
John
March 1, 2017 at 4:04 am
Yes, you can do that. Make sure you back up all your user database first, and script out important system stuff such as jobs and logins. Bear in mind that...
March 1, 2017 at 2:49 am
Viewing 15 posts - 1,726 through 1,740 (of 7,187 total)