Scripting out DB objects

  • In SQL 2000 there was an option to script each object to individual files.

    I can't find that option in SQL2005, it only give me the option to script to one file for all objects.

    Did I miss something? or am I not looking in the right place.

    Thanks in advance

    Susan

  • You can do the same in 2005 also.

    Go to the 4th screen of the scripting wizard, here you can select the script option then select "file per object" option , this option will script every object to a new file. I've attached a sample pic, pls check

  • I don't have those options...

    Here's what I have in the same screen.

  • I don't have the same options as you, what is the SQL 2005 version and edition are you using?

    I'm running a standard SQL 2005 with no sp's.

    Thanks in advance

    Susan

  • Put on Service Pack 2, then you'll get it (not sure about SP1)

  • Thanks... SP2 did it.

    I tried it with SP1, but still didn't see the 'per object' option.

    Once I applied SP2, there it was...

    Thanks again

    Susan

  • I do see the options in SQL 2005 Dev edition service pack 2

    Microsoft SQL Server 2005 - 9.00.3054.00 (Intel X86) Mar 23 2007 16:28:52 Copyright (c) 1988-2005 Microsoft Corporation Developer Edition on Windows NT 5.2 (Build 3790: Service Pack 2)

Viewing 7 posts - 1 through 6 (of 6 total)

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