Generate script to create table but on all on different files

  • hi,

    I want to have drop and create query for all the tables in my database, but i want to have separate object on separate file.

    i am not sure is it possible or not??:-)

    [font="Arial Narrow"]Failure is not the worst thing. The worst Thing is not to try[/font]
  • I am not sure if I understood your question fully but did you try making use of SSMS for scripting out the tables?

    M&M

  • Hi Virendar,

    You can generate scripts for DROP and CREATE using SSMS. but you will need to manually edit the script to change the ON clause.

    Vishal Gajjar
    http://SqlAndMe.com

Viewing 3 posts - 1 through 2 (of 2 total)

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