• there are dozens of scripts here on SSC for scripting out jobs:

    http://www.sqlservercentral.com/search/?q=script+jobs&t=s

    so from there you could then add a WHERE filter to any of those to limit to a specific database.

    some jobs never explicitly mention a database name even thought hey fiddle with them...they might be querying sys.databases, or using dynamic sql to get database names, and run a loop / cursor thru the contents...so you need to take that into consideration as well.

    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!