使用powershell或python在SQL Server Management Studio中编写脚本对象 [英] Script objects in SQL Server Management Studio using powershell or python

查看:192
本文介绍了使用powershell或python在SQL Server Management Studio中编写脚本对象的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述


是否有任何可用的脚本方法  for"SQL Server Management Studio中的脚本对象"使用SQL,PowerShell或python?


注意:不使用"SQL Server Management Studio"图形视图。  




谢谢&问候,

Tharindu Dhaneenja(www.databaseusergroup.com)

解决方案

< BLOCKQUOTE> https://www.mssqltips.com/sqlservertip/4606/generate-tsql-scripts-for-all-sql-server-databases-and-all-objects-using-powershell/

Hi,

Is there any scripting method available for "Script objects in SQL Server Management Studio" using SQL,PowerShell or python?

Note: without using "SQL Server Management Studio" graphical view.  


Thanks & regards,
Tharindu Dhaneenja (www.databaseusergroup.com)

解决方案

https://www.mssqltips.com/sqlservertip/4606/generate-tsql-scripts-for-all-sql-server-databases-and-all-objects-using-powershell/


这篇关于使用powershell或python在SQL Server Management Studio中编写脚本对象的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆