且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

使用powershell或python在SQL Server Management Studio中编写脚本对象

更新时间:2023-02-03 23:29:50

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/