Script out Jobs & Logins Master DB

  • i just copied and pasted my quoted command, and tested it in both SQL2005 and SQL2008, and i got results with no errors at all.

    I'm not sure where your issue lies.

    Lowell


    --help us help you! If you post a question, make sure you include a CREATE TABLE... statement and INSERT INTO... statement into that table to give the volunteers here representative data. with your description of the problem, we can provide a tested, verifiable solution to your question! asking the question the right way gets you a tested answer the fastest way possible!

  • Lowell (1/20/2012)


    i just copied and pasted my quoted command, and tested it in both SQL2005 and SQL2008, and i got results with no errors at all.

    I'm not sure where your issue lies.

    I found out the problem.

    If I pasted it without quoting, it did not copy everything.

    When I used quote it replace the > and < with control characters.

    I created jobs in which I had a maintence plan.

    The one job that I was hoping to get it did not create.

    If I could script out the maintence plans that would be good.

    I tried restore MSDB but the destination machine is on SP4 and the source is on SP3.

    Thanks for your help!

    For better, quicker answers on T-SQL questions, click on the following...
    http://www.sqlservercentral.com/articles/Best+Practices/61537/

    For better answers on performance questions, click on the following...
    http://www.sqlservercentral.com/articles/SQLServerCentral/66909/

Viewing 2 posts - 16 through 16 (of 16 total)

You must be logged in to reply to this topic. Login to reply