copy all table structure in one database to another

  • If trying to copy all table structure from one database to another but can't seem to remember how to. Any help will be appreciated.

  • Right click the db -> Tasks -> Generate Scripts

  • Thanks. I did what you said but what i'm trying to acomplish is to copy all table structure and objects from dbase(Tan) to dBase (Tany). Do I need to modify the scripts generated from General script?

  • When you select the objects to script out, select only Tables (and their dependencies..make sure you get keys, indexes, etc), then run that script on the new DB.

  • Thanks you so much. It worked!! I appreciate your effort.

Viewing 5 posts - 1 through 4 (of 4 total)

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