24,938 reputation
44585
bio website blogs.msdn.com/b/sql_pfe_blog
location In the Ocean somewhere...
age
visits member for 3 years, 5 months
seen 14 hours ago

SQL Server Premier Field Engineer at Microsoft.

Twitter: @SQLife
Blog: http://blogs.msdn.com/b/sql_pfe_blog/
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.


Oct
29
comment Currently all connections getting “Timeout expired”
It looks like with the using block SqlConnection.Dispose() should be called. Is there perchance 100 current execution paths that have yet to reach the end of the using block? Is that the only code that opens up a connection?
Oct
29
revised Currently all connections getting “Timeout expired”
edited title
Oct
29
answered Currently all connections getting “Timeout expired”
Oct
29
revised Install by command line
edited tags; edited title
Oct
28
revised SQL Server suspect database?
edited title
Oct
28
answered How to recover a database from a failed Availability Group?
Oct
28
revised Assembly 'system.web, version=4.0.0.0, culture=neutral, publickeytoken=b03f5f7f11d50a3a.' was not found in the SQL catalog
added 144 characters in body
Oct
28
answered Assembly 'system.web, version=4.0.0.0, culture=neutral, publickeytoken=b03f5f7f11d50a3a.' was not found in the SQL catalog
Oct
28
revised Database Size Troubleshooting
edited tags; edited title
Oct
22
revised How do you calculate the CPU Affinity Bitmap?
edited tags; edited title
Oct
22
revised How do you calculate the CPU Affinity Bitmap?
added 529 characters in body
Oct
22
answered How do you calculate the CPU Affinity Bitmap?
Oct
16
comment Log shipping option not showing
You can insert an image into the body of your question (just hit the "edit" button).
Oct
16
revised How to only restore a specific filegroup?
edited title; edited tags
Oct
16
comment Can WAITFOR increase CXPACKET waits?
That isn't quite correct. It will increase the WAITFOR wait type in sys.dm_os_wait_stats.
Oct
16
answered Can WAITFOR increase CXPACKET waits?
Oct
16
comment Log shipping option not showing
Can you post a screenshot of the "Database Properties" window?
Oct
15
comment What is the most effective way to discover all running instances of SQL Server using PowerShell?
That works provided you are supplied with a list of servers to begin with. That can't always be assumed.
Oct
15
answered What is the most effective way to discover all running instances of SQL Server using PowerShell?
Oct
15
comment SQL Server mirroring causing issues
What does your connection string look like?