Is there any way to generate database scripts from a SQL query in SQL Server?

前端 未结 2 1882
花落未央
花落未央 2021-01-20 14:58

I need to dump the database structure for a SQL Server database, but I need to do it from a SQL query or sqlcmd script.

Is there a valid way to do it?

2条回答
提交回复
热议问题