25,298 reputation
44586
bio website blogs.msdn.com/b/sql_pfe_blog
location In the Ocean somewhere...
age
visits member for 3 years, 5 months
seen 37 mins 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.


Mar
27
comment Newly discovered SQL Server Express has all databases inaccessible/offline
You don't even seem to have the option for the SQL Server log there, just Windows NT and Database Mail (which probably won't be very useful). Try to navigate to where the SQL Server error log files are stored. Typically this will be something like: C:\Program Files\Microsoft SQL Server\MSSQLxx.SQLEXPRESS\MSSQL\Log` (or something similar to that) and the log files are ERRORLOG` (or *.1/2/3/4.... for archived log files).
Mar
27
awarded  sql-server-2005
Mar
26
revised Differences Between Two Different Create Index Commands
edited title
Mar
26
answered Differences Between Two Different Create Index Commands
Mar
26
revised Run Multiple Remote Jobs
added 282 characters in body
Mar
26
revised Run Multiple Remote Jobs
edited tags; edited title
Mar
26
revised Run Multiple Remote Jobs
added 374 characters in body
Mar
26
revised Run Multiple Remote Jobs
edited tags
Mar
26
comment Run Multiple Remote Jobs
@RoKa Great point, please see my edit.
Mar
26
revised Run Multiple Remote Jobs
added 945 characters in body
Mar
26
answered Run Multiple Remote Jobs
Mar
25
revised How to connect Powershell to the SQL Server named instance?
edited tags
Mar
22
revised Limit connection rights on SQL Server
edited body
Mar
22
revised Limit connection rights on SQL Server
added 47 characters in body
Mar
22
answered Limit connection rights on SQL Server
Mar
21
comment What are the differences between leaf and non-leaf pages?
That all depends on how large the data is in the index, as well as the key columns for the index. Take a look at the image I just edited into my answer. Hopefully that'll help visualize this B-tree structure easier.
Mar
21
revised What are the differences between leaf and non-leaf pages?
added 144 characters in body
Mar
20
awarded  Good Question
Mar
20
awarded  Strunk & White
Mar
19
comment Update strings for all cmdexec Jobs
@AaronBertrand Indirectly, sure. But running a trace you'll see it's really calling msdb.dbo.sp_update_jobstep. And yes, that stored proc does update the msdb.dbo.sysjobsteps table but there are a handful of other checks that the stored procedure call does. I agree with you, Aaron, but I'll always choose the "API" route instead of direct table DML.