带有所有(关系,seq,fk,pk ...等)cli备份工具的MSSQL DB模式和数据

时间:2018-12-03 11:43:05

标签: sql-server linux

当前,我正在尝试使用mssql-scripter工具从具有模式级别的数据库中获取备份,但似乎并不涵盖序列。有任何CLI工具可以做到这一点吗?

1 个答案:

答案 0 :(得分:0)

On SSMS management studio, Right click on the database --\ generate script.

If you want to cover the dependencies you will find lot of powershell scripts that do this on the web, or use third part tools like redgate