Forum Replies Created

Viewing 15 posts - 121 through 135 (of 1,583 total)

  • RE: What's the best way to accomplish?

    Thanks for clarifying Luis, as always appreciate your insight! I'll take a look and see where I can make improvements to the process and take that back to the...

    ______________________________________________________________________________Never argue with an idiot; Theyll drag you down to their level and beat you with experience

  • RE: What's the best way to accomplish?

    Not sure what you mean there Luis. There could be 300 different columns in the ReportColumns table and I wasn't sure how best to link them all together

    I didn't...

    ______________________________________________________________________________Never argue with an idiot; Theyll drag you down to their level and beat you with experience

  • RE: SQL 2008 EE :: Adding new article to transactional replication

    Sorry that's only if you were using the GUI...

    What is the spid currently doing?

    ______________________________________________________________________________Never argue with an idiot; Theyll drag you down to their level and beat you with experience

  • RE: SQL 2008 EE :: Adding new article to transactional replication

    If you didn't check the box to generate the snapshot immediately then it should be relatively quick, it you generated the snapshot, it would depend on the amount of data...

    ______________________________________________________________________________Never argue with an idiot; Theyll drag you down to their level and beat you with experience

  • RE: Logshipping status report Throgh Mail

    Anywhere before the send email portions of the script

    Here:IF(@time_since_last_backup>15)

    BEGIN

    << The code I asked you to run goes here >>

    EXEC msdb.dbo.sp_send_dbmail

    The code has multiple places where the sp_send_dbmail is executed...

    ______________________________________________________________________________Never argue with an idiot; Theyll drag you down to their level and beat you with experience

  • RE: Logshipping status report Throgh Mail

    You need to do something debugging. Is there any one else at your shop that can assist you with this?

    The fact that all those variables are blank is strange,...

    ______________________________________________________________________________Never argue with an idiot; Theyll drag you down to their level and beat you with experience

  • RE: Logshipping status report Throgh Mail

    Right before you send the email, add:

    SELECT

    @database_name, @server, @SubjectHTML, @tablecopyHTML, @tablerestoreHTML

    EXEC msdb.dbo.sp_send_dbmail...

    Etc.

    ______________________________________________________________________________Never argue with an idiot; Theyll drag you down to their level and beat you with experience

  • RE: Logshipping status report Throgh Mail

    If the email is empty, check the variables used in the email portion of the script - chances are of of the variables used in the @body is NULL, causing...

    ______________________________________________________________________________Never argue with an idiot; Theyll drag you down to their level and beat you with experience

  • RE: Logshipping status report Throgh Mail

    I was referring to your error after running the Satnam's script

    ______________________________________________________________________________Never argue with an idiot; Theyll drag you down to their level and beat you with experience

  • RE: Logshipping status report Throgh Mail

    Also, if you had it error out, you will need to run the d-r-o-p table #logshipping_status_manual statement to remove the reference to the temp table

    ______________________________________________________________________________Never argue with an idiot; Theyll drag you down to their level and beat you with experience

  • RE: Distinct Counts

    Wahoo got lucky today! (kidding) - Thanks for the question 😀

    ______________________________________________________________________________Never argue with an idiot; Theyll drag you down to their level and beat you with experience

  • RE: Logshipping status report Throgh Mail

    However, I've stated earlier, I've another secondary db from different system, it's totally another separate system

    Is the MSSQL version different or the same as the secondary that works?

    ______________________________________________________________________________Never argue with an idiot; Theyll drag you down to their level and beat you with experience

  • RE: Logshipping status report Throgh Mail

    Peter, your post on 1/13/2015 9:30 PM showed that you were receiving the email (which means the code did work at that time) - can you try running the original...

    ______________________________________________________________________________Never argue with an idiot; Theyll drag you down to their level and beat you with experience

  • RE: Logshipping status report Throgh Mail

    Try running it on the primary, or changing the data type for that parameter to nvarchar(10) instead of a bit

    ______________________________________________________________________________Never argue with an idiot; Theyll drag you down to their level and beat you with experience

  • RE: Logshipping status report Throgh Mail

    I no longer use log shipping (which is kind of why I can't remember the details (sorry )) ; but yes you will need to have a linked server in...

    ______________________________________________________________________________Never argue with an idiot; Theyll drag you down to their level and beat you with experience

Viewing 15 posts - 121 through 135 (of 1,583 total)