how do i generate scripts for all tables with sing

2019-02-21 15:24发布

how do i generate scripts for all tables with single stroke in sql server 2000.

1条回答
Summer. ? 凉城
2楼-- · 2019-02-21 16:04

You can't do this with one click of a button.

You have to:

  • Right click Database
  • Select All Tasks > Generate SQL Scripts
  • Click Show All
  • Check All Tables
  • Click the Formatting tab. Select the options you require
  • Click the Options tab. You may want to script out the Indexes, Full-Text Indexes, Triggers, Primary & Foreign Keys.
  • Then choose whether you want it all in one file or one file per object.
查看更多
登录 后发表回答