Reputation
28,370
Next tag badge:
94/100 score
25/20 answers
Badges
5 54 95
Newest
 Nice Answer
Impact
~1.5m people reached

May
22
comment Startup procedure for availability replica becoming primary
Have these as job steps, use conditional logic to determine whether or not job step execution should continue.
May
21
comment One filegroup, multiple datafiles, how to get list of tables in each file
Good point and agreed. Also, good answer, +1.
May
21
revised Startup procedure for availability replica becoming primary
added 73 characters in body
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