Programmatically generate script for all objects in a database

前端 未结 5 698
情歌与酒
情歌与酒 2020-12-10 21:06

For an automated setup build that generates the setup for an application which uses Microsoft SQL Server, I am currently evaluating whether the following is possible:

<
5条回答
  •  -上瘾入骨i
    2020-12-10 21:27

    You could invoke a standard select clause (using ADO.NET for example) over the sysobjects view.

提交回复
热议问题