Viewing 15 posts - 2,566 through 2,580 (of 49,552 total)
The Dixie Flatline (8/23/2016)
Pssst... "MIAMI"Also, I'm missing something.
Why not just select where [Statename] <> 'ALL' ?
Because he wants the cities where there's no row for that city with the...
Gail Shaw
Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability
August 24, 2016 at 4:17 am
Steve Jones - SSC Editor (8/23/2016)
Lynn Pettis (8/23/2016)
Luis Cazares (8/23/2016)
Gail, you just made my day with this answer. http://www.sqlservercentral.com/Forums/FindPost1811748.aspxI can't stop laughing. 😀
omg
congrats. One day I'll get there
To where? Snarky...
Gail Shaw
Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability
August 23, 2016 at 3:00 pm
I suspect Phil meant to apply the traceflag just to the problematic query, not enable it system-wide.
https://support.microsoft.com/en-us/kb/2801413
Gail Shaw
Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability
August 23, 2016 at 2:58 pm
YSLGuru (8/23/2016)
Gail Shaw
Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability
August 23, 2016 at 2:08 pm
No. Anything that's minimally logged in bulk-logged is minimally logged in simple.
Gail Shaw
Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability
August 23, 2016 at 2:07 pm
szejiekoh (8/23/2016)
Gail Shaw
Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability
August 23, 2016 at 1:17 pm
Luis Cazares (8/23/2016)
Gail, you just made my day with this answer. http://www.sqlservercentral.com/Forums/FindPost1811748.aspxI can't stop laughing. 😀
I was fully expecting to get a reply like "Tried that and it won't start!!!!"....
Gail Shaw
Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability
August 23, 2016 at 12:55 pm
HappyGeek (8/23/2016)
NB the backups were actually there and OK but when a restore was attempted, it still returned the same error.....backups are now continuing fine.
Backups that are on the same...
Gail Shaw
Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability
August 23, 2016 at 12:04 pm
ben.brugman (8/23/2016)
Now I want to do some manipulations on the resulting string.So I convert the XML string to a VARCHAR(MAX) datatype.
Why?
If you want to shred it, why not use XPath...
Gail Shaw
Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability
August 23, 2016 at 11:45 am
You can check the previous error log to see why it stopped
Gail Shaw
Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability
August 23, 2016 at 11:43 am
Start the service?
Gail Shaw
Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability
August 23, 2016 at 10:55 am
Could be the deadlock hasn't reoccured.
You don'yt need 1204, that the SQL 2000 traceflag for capturing deadlocks, and to be honest you don't need 1222 in SQL 2012, use the...
Gail Shaw
Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability
August 23, 2016 at 10:32 am
SELECT CityName FROM @Cities where CityName NOT IN (SELECT CityName from @Cities WHERE StateNAme = 'ALL');
Edit: And make sure that CityName is not nullable column.
Gail Shaw
Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability
August 23, 2016 at 10:26 am
You don't need any exporting, or importing, or discrepency checks. While you can't do an in-place upgrade, that's probably not something that you want to be doing in production. Side-by-side,...
Gail Shaw
Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability
August 23, 2016 at 10:01 am
The USE PLAN hint, but I would recommend you try every other way to get a desired plan shape first. The hint's not one I like using in production.
Gail Shaw
Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability
August 23, 2016 at 9:57 am
Viewing 15 posts - 2,566 through 2,580 (of 49,552 total)