how do i generate scripts for all tables with single stroke in sql server 2000 [closed]

自作多情 提交于 2019-12-01 15:02:27

问题


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


回答1:


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.


来源:https://stackoverflow.com/questions/5114667/how-do-i-generate-scripts-for-all-tables-with-single-stroke-in-sql-server-2000

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!