开发者

Export SQL Server database to script using a command

I need to export 开发者_如何学Gomy database into a script file using a SQL command.

I'm using MS SQL Server 2010 Express.

Is it possible and if yes whats the command?


This link may be of your use: Generate Script with Data from Database. With it you can use publish command like:

sqlpubwiz script -d AdventureWorks “C:\AdventureWorks.sql”

However its quite easy to use SQL Server Management Studio to export the database.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜