| bio | website | sqlsalt.com |
|---|---|---|
| location | ||
| age | ||
| visits | member for | 1 year, 10 months |
| seen | 1 hour ago | |
| stats | profile views | 405 |
SQL Server Premier Field Engineer at Microsoft.
Twitter: @SQLife
Blog: http://sqlsalt.com
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.
|
2d |
comment |
Re enable Windows Authentication Reference: msdn.microsoft.com/en-us/library/dd207004.aspx/css |
|
2d |
comment |
Re enable Windows Authentication Ok. If you are a local administrator on the machine, start SQL Server in single user mode (-m) and connect to reset the sa password. |
|
2d |
comment |
Re enable Windows Authentication What do you mean, Windows Authentication was disabled? In SQL Server, you have two options for authentication: Windows Auth or Windows and SQL Auth. |
|
May 15 |
comment |
Running a query within a scheduled job @Vince There's actually a pretty good example of this on TechNet. See this link all the way at the bottom titled Sending an HTML e-mail message (technet.microsoft.com/en-us/library/ms190307.aspx). |
|
May 15 |
comment |
Running a query within a scheduled job The query by itself is just fine. Can you post the actual scripted command you are using to create the job as well as the mail send command? My guess is you're having quoting issues. |
|
May 15 |
comment |
Cannot connect to SQL Server after setting sa password to blank That's a named pipes error. And, I'll stress like those commenting before me: that is a terrible practice to have a blank sa password. That's about as egregious as it gets for security vulnerabilities. |
|
May 11 |
comment |
SQL Server - restore database with zero size log file +1 this is the right answer. |
|
May 10 |
comment |
Concurrent Access causing deadlock on the same table Agreed with @StrayCatDBA. We need the entire deadlock graph, there isn't enough information to determine root cause. |
|
May 7 |
comment |
Is it possible to validate DML statements? Which RDBMS are you working with? SQL Server? |
|
May 2 |
comment |
Restoring differential backup from SQL Server 2005 to SQL Server 2012 Somebody took a full backup (without specifying WITH COPY_ONLY) on the database since the full backup that you have onhand was taken. |
|
May 2 |
comment |
CPU column 5x higher on one machine vs another? Just because the queries are the same, doesn't necessarily mean the plans are and what operations are taking place. Have you capture the actual execution plans from both environments to compare? |
|
May 2 |
comment |
SSMS 2012 is not showing the tables of the system databases connect.microsoft.com/SQLServer/feedback/details/773184/… |
|
Apr 29 |
comment |
Upgrade SQL Server 2005 Enterprise to SQL Server 2008 R2 Standard Why don't you just do a side-by-side and then migrate all databases and server objects? |
|
Apr 26 |
comment |
Total Memory capped far below available memory @Kin "maximum server memory is set to the default" |
|
Apr 25 |
comment |
Transactional Replication Concerns @user23025 Glad to help. If you have any other questions regarding this, please feel free to ask. But if I've answered your question to your satisfaction, please mark this answer as correct. |
|
Apr 25 |
comment |
Troubleshoot Microsoft SQL Server Reporting Services unexpected error Check the logs for specific details on the error(s). |
|
Apr 24 |
comment |
Rebuilding, truncating etc SQL Server 2008 maintenance Let the DBA do these DBA tasks... (just my opinion) |
|
Apr 23 |
comment |
Can I drop and recreate a system extended stored procedure? +1 wish I could +10 this answer. |
|
Apr 22 |
comment |
Does SQL Server place shared locks on scanned records when using REPEATABLE READ If what you're asking is if SQL Server places shared locks ( S) on the data to be updated during an UPDATE, then the answer to that is no. SQL Server utilizes update locks (U) in order to read the data, and those are converted to exclusive locks (X) to modify the data. If a shared lock (S) was used, and wasn't relinquished for the duration of the transaction, the data modification part of the UPDATE would never happen. |
|
Apr 22 |
comment |
Does SQL Server place shared locks on scanned records when using REPEATABLE READ If you have an UPDATE statement, the exclusive locks (X) should be held for the duration of that transaction. Therefore, no, other transactions shouldn't be able to update any rows that have the exclusive lock. |