Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
有没有办法从我的数据库生成一个不包含 CREATE DATABASE 代码的 .sql 文件?
问候 T。
是的,如果您启动生成脚本向导并在第一步询问您是否要编写整个数据库或特定对象的脚本,请选择特定对象选项,然后勾选所有框以选择所有对象。
生成的脚本将包括数据库中的所有数据库对象,但不包括数据库本身。