26,046 reputation
44586
bio website tstringer.azurewebsites.net
location In the Ocean somewhere...
age
visits member for 3 years, 7 months
seen 7 hours ago

SQL Server Support Escalation Engineer at Microsoft.

Twitter: @SQLife
Blog: http://tstringer.azurewebsites.net
Email: sqlsalt [at] outlook [dot] com

Disclaimer
The views expressed on my posts on this site are mine alone and do not reflect the views of my company. All posts of mine are provided "AS IS" with no warranties, and confers no rights.

The following disclaimer applies to all code, scripts and demos available on my posts:

This Sample Code is provided for the purpose of illustration only and is not intended to be used in a production environment. THIS SAMPLE CODE AND ANY RELATED INFORMATION ARE PROVIDED “AS IS” WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A PARTICULAR PURPOSE. We grant You a nonexclusive, royalty-free right to use and modify the Sample Code and to reproduce and distribute the object code form of the Sample Code, provided that You agree: (i) to not use Our name, logo, or trademarks to market Your software product in which the Sample Code is embedded; (ii) to include a valid copyright notice on Your software product in which the Sample Code is embedded; and (iii) to indemnify, hold harmless, and defend Us and Our suppliers from and against any claims or lawsuits, including attorneys’ fees, that arise or result from the use or distribution of the Sample Code.


Dec
31
answered What is meant by churn?
Dec
30
comment Check if database has changed to determine need to perform backup
What are you really gaining out of this approach? What's wrong with small differential backups? Storage space is cheaper than dirt, and file system management is easy. I don't see how the juice is worth the squeeze here.
Dec
29
revised AlwaysOn SQL Agent Jobs
edited tags
Dec
29
comment What is the cause of this problem with CONVERT()?
Aaron is spot on. Your brain is converting the binary data to integer data then straight to numeric, but SQL Server doesn't do that implicit conversion from binary -> integer -> numeric(x, y). For SQL Server to follow your thought process, you'd have to do something like this: PRINT CONVERT(NUMERIC(38, 0), convert(int, 0x00000001), 0); PRINT CONVERT(NUMERIC(38, 0), convert(int, 0x00010001), 0);.
Dec
23
revised Effects of turning the transaction safety OFF
edited tags
Dec
23
answered Effects of turning the transaction safety OFF
Dec
20
answered Why doesn't a delete increase unused space in a table?
Dec
16
answered Releasing Free Space
Dec
3
comment What significance does an index_id < 256000 have?
+1 that's an awful bad habit. Forget about index_id. Especially since more accurate data for determining type is sitting right next to it... literally.
Dec
3
awarded  Nice Answer
Dec
3
revised Restarting database server or just the database
edited tags
Dec
3
answered Restarting database server or just the database
Nov
28
revised Adding around 200 rows in a table grows size of the table by 400kb where avg row size is 0.2KB
edited tags; edited title
Nov
26
revised AlwaysOn Availability Groups log_send_rate
edited title
Nov
26
answered AlwaysOn Availability Groups log_send_rate
Nov
19
comment How to get CPU usage by database for particular instance?
In my opinion, there are very few times when you'd want to break out CPU consumption by database, and totally agree with Aaron on his points.
Nov
18
awarded  Enlightened
Nov
18
awarded  Nice Answer
Nov
17
answered This instance of (MS) SQL Server has been using a process id of X since dd/mm/yyyy
Nov
12
awarded  Notable Question