Reputation
28,205
Next tag badge:
92/100 score
25/20 answers
Badges
5 53 93
Newest
 Enlightened
Impact
~1.4m people reached

May
21
comment One filegroup, multiple datafiles, how to get list of tables in each file
There's no guarantee that tables will be spread equally across the files. I can think of a few situations where that isn't the case (index rebuild being one).
May
21
awarded  Constituent
May
21
revised Startup procedure for availability replica becoming primary
added 54 characters in body
May
21
revised Startup procedure for availability replica becoming primary
edited tags
May
21
answered Startup procedure for availability replica becoming primary
May
17
awarded  Revival
May
17
comment Re enable Windows Authentication
Reference: msdn.microsoft.com/en-us/library/dd207004.aspx/css
May
17
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.
May
17
revised Re enable Windows Authentication
edited title
May
17
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
16
revised Running a query within a scheduled job
added 79 characters in body
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
answered Running a query within a scheduled job
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
revised Running a query within a scheduled job
added 45 characters in body
May
15
revised Suspended in index rebuild
added 86 characters in body
May
15
answered Suspended in index rebuild
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
13
awarded  Caucus
May
11
comment Restore database with zero size log file
+1 this is the right answer.