Tag Archives: microsoft sql server
-
Viewing errors with extended events
1September 27, 2022 by Kenneth Fisher
A little while back I came across this post: Identifying failed queries with extended events. It has a script to …
Continue reading -
Conversion Precedence
1September 20, 2022 by Kenneth Fisher
Recently I talked about the difference between implicit and explicit datatype conversions. In it I ran this code: With the …
Continue reading -
Creating a SERVER ROLE created a LOGIN as well.
1September 6, 2022 by Kenneth Fisher
One of my co-workers came to me the other day and told me that they found their network id as …
Continue reading -
Explicit and implicit datatype conversions
2August 25, 2022 by Kenneth Fisher
Did you know that 1/2=0? If you didn’t you could be in for some interesting surprises. 1/2 returns 0 because …
Continue reading -
SQL Server Query Tuning and Optimization by Benjamin Nevarez
Leave a commentAugust 16, 2022 by Kenneth Fisher
I was recently asked to review SQL Server Query Tuning and Optimization by Benjamin Nevarez (blog|twitter), and as soon as …
Continue reading -
Using DBCC CLONEDATABASE to create a schema only copy of your database.
Leave a commentAugust 11, 2022 by Kenneth Fisher
DBCC CLONEDATABASE is one of those features that I don’t use often but it’s really cool when I need it. …
Continue reading -
SSMS Put pinned tabs in their own row
2July 21, 2022 by Kenneth Fisher
A while back (6 years ago 😲) I talked about how you can change the behavior of SSMS so that …
Continue reading -
How do I tell if identity_insert is turned on and if so what table?
4June 24, 2022 by Kenneth Fisher
TLDR; The code to do this is below but it’s a bit hokey and probably isn’t worth it. It’s pretty …
Continue reading -
An auditing mind set
2May 31, 2022 by Kenneth Fisher
I little while back I presented at Pass Data Community Summit. Specifically the presentation was Auditing your data and data …
Continue reading