Viewing 15 posts - 7,231 through 7,245 (of 49,552 total)
Luis Cazares (11/19/2014)
I know that ApexSQL Refactor does that, but I'm sure that other tools can do the work as well.
Latest version of SQL prompt can do that too....
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
November 20, 2014 at 2:11 pm
NJDave (11/20/2014)
Should a SQL DBA know users passwords when using SQL Server authentication?
Absolutely not.
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
November 20, 2014 at 8:49 am
There's 5 posts on my blog on the subject if you want the full detail.
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
November 20, 2014 at 7:17 am
WHERE EXISTS, not IF NOT EXISTS
Very, very, very slightly more efficient.
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
November 20, 2014 at 6:37 am
rrn 62873 (11/20/2014)
Will DBCC CHECKDB ever fail a job step?
Yes.
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
November 20, 2014 at 5:57 am
That sounds more like a server-scoped DDL trigger.
PBM is for enforcing policies (like ensure no databases are named in such a way, ensure all databases are in full recovery, etc)....
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
November 20, 2014 at 5:41 am
rrn 62873 (11/20/2014)
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
November 20, 2014 at 5:38 am
You test your application against a test database that's already been upgraded, you identify any issues and you fix them. Once the tests run clean, then you update the compatibility...
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
November 20, 2014 at 5:34 am
By testing before you make the change.
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
November 20, 2014 at 5:07 am
To be honest, performance is irrelevant in this case.
If you need all the rows from a large table and matching rows from a small table, then LargeTable LEFT OUTER JOIN...
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
November 20, 2014 at 5:03 am
It won't generate anything and there are no checks done when you change the compat level.
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
November 20, 2014 at 2:16 am
I've been sitting with negative leave days available since July (about -0.5 at this point). No one in management is complaining, no pointed hints that I need to work more....
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
November 20, 2014 at 2:01 am
Koen Verbeeck (11/20/2014)
GilaMonster (11/20/2014)
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
November 20, 2014 at 1:36 am
The DMV above just shows averages of what's in the plan cache, not exact executions of each query. That may be good enough, it may not be.
Have a read through...
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
November 20, 2014 at 1:35 am
ramana3327 (11/19/2014)
Why because we are passing 3 input parameters. Those are default parameters. We are not changing either in SP or Report also.
Just tested...
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
November 20, 2014 at 1:25 am
Viewing 15 posts - 7,231 through 7,245 (of 49,552 total)