提示:如何在SQL Server数据库中获取对象列表
有时,我已经完成了在SQL数据库的开发实例上的开发,经过几个测试周期,返工,调整等。
什么时候该在生产中移动所有内容时,我必须确保没有错误地遗忘(触发器,存储过程)。
sometimes I have completed the development of a solution on a development instance of a SQL database, after several test cycles, reworks, adjustments, etc.
When is time to move everything in production, I have to be sure that nothing is left behind by mistake (a trigger, a stored procedure).
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
一个助手是获取数据库中所有对象的简单列表。
一个简单的查询以获取数据库中所有对象的列表是以下一个:
您可以根据需要进行调整,删除字段等。
几个注意事项:
使用SSM(SQL Server Management Studio)订购所有元素,您可以轻松地将结果导出Excel,并在其上进行处理,将其添加到文档中。
One helper is to get a simple list of all the objects in the database.
A simple query to get the list of all the objects in your db is the following one:
You can adjust it at your needs, remove fields, and so on.
Few notes:
Using SSMS (SQL Server Management Studio), you can easily export the results in Excel, and work on it, add it to the documentation.