Viewing 15 posts - 616 through 630 (of 5,394 total)
If you want better chances of an answer, post your question using insert statements for your data and post desired results in a readable way.
Example:
Sample data:
DECLARE @mytable TABLE(
EmpCode...
April 15, 2015 at 3:41 am
GilaMonster (4/15/2015)
April 15, 2015 at 2:55 am
You need to wrap everything in a try/catch and handle the transaction accordingly.
You could use something similar to the stored procedure code template you can find here: http://spaghettidba.com/2011/07/08/my-stored-procedure-code-template/
This is how...
April 15, 2015 at 2:54 am
It won't, unless you go beyond available disk space in the mirror server of course.
April 15, 2015 at 1:35 am
Usually, the tool I use for this kind of tasks is a script for rs.exe.
Here's a detailed description of the script: https://msdn.microsoft.com/en-us/library/dn531017.aspx
April 14, 2015 at 8:33 am
Jeff Moden (4/14/2015)
Heh... as a bit of a sidebar, when there's a failure, I "SPAM" folks every 2 minutes to establish a sense of urgency. ๐
Pfft! Amateur. Somebody once told...
April 14, 2015 at 8:29 am
Duplicate post. Replies here please: http://www.sqlservercentral.com/Forums/FindPost1676771.aspx
April 14, 2015 at 4:07 am
You can start by reading this excellent ebook on the subject:
https://www.red-gate.com/community/books/accidental-dba
Troubleshooting is a complex topic, no single answer applies. Read the book and you'll find a detailed and simple...
April 14, 2015 at 4:05 am
Usually you want to catch errors in each stored procedure and re-throw them to calling procedures. I published my stored proceedure code template here: http://spaghettidba.com/2011/07/08/my-stored-procedure-code-template/
Hope this helps
April 14, 2015 at 4:02 am
It's not possible directly. You have some options:
1) Create another job (B) that checks the outcome of the first job (A) every 30 minutes and sends and email only when...
April 14, 2015 at 3:26 am
Alessandro, thank you for your thorough and accurate article. I look forward to reading more from you.
April 9, 2015 at 4:32 am
So it looks like it's blocked by another SPID.
If you don't have Adam Machanic sp_WhoIsActive, download it (http://sqlblog.com/files/folders/beta/entry42453.aspx) and run it with these parameters:
EXEC sp_WhoIsActive @get_outer_command = 1, @get_plans =...
April 2, 2015 at 9:58 am
What is the wait type you see for the blocking SPIDs?
April 2, 2015 at 9:46 am
Viewing 15 posts - 616 through 630 (of 5,394 total)