简体   繁体   English

并行数据仓库-编写数据库脚本

[英]Parallel Data Warehouse - Scripting out Database

I have been tasked with scripting out the entire database with schema. 我的任务是使用架构编写整个数据库的脚本。 I have to use Visual Studio 2012 or SSMS 2014. I don't really see a good wizard like normal to do this. 我必须使用Visual Studio 2012或SSMS2014。我真的没有像正常人那样看到好的向导。 Any tips? 有小费吗?

Right click on your database -> Tasks -> Generate scripts and follow up the wizard 右键单击数据库->任务->生成脚本,然后继续执行向导

The wizard generates a script of all the objects in a database, or a subset of the objects that you select. 该向导将生成数据库中所有对象或您选择的对象的子集的脚本。 The wizard has many options for your scripts, such as whether to include permissions, collation, constraints, and so on. 该向导为您的脚本提供了许多选项,例如是否包括权限,排序规则,约束等等。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM