External Article

Get script for every action in SQL Server Management Studio

I am always conscious to keep a record of all operations performed on my database servers. Operations through T-SQL in an SSMS query pane can easily be saved in query files. For table modifications through SSMS designer I have predefined setting to generate T-SQL scripts. However there are numerous database and server level tasks that I use the SSMS GUI and I would like to have a script of these changes for later reference. Examples of such actions through the SSMS GUI are backup/restore, changing compatibility level of a database, manipulating permissions, dealing with database or log files or creating/manipulating any login/user. I am looking for any way to generate T-SQL code for such actions, so that it may be kept for later reference

Blogs

Programmatically Retrieving MLV Lineage and Refresh Times

By

Materialized lake views (MLVs) in Microsoft Fabric are an effective way to implement medallion...

SWAG Saves the Day

By

PASS Summit East is in one week. I was on the road last week...

Upgrading SQL Server Containers on the Laptop

By

I don’t have SQL Server installed on my laptop. In an effort to keep...

Read the latest Blogs

Forums

BCA KCP Intercon Megah Telpon/WA:08137887595

By tanehome

BCA KCP Intercon Megah Telpon/WA:08137887595.Komp.Intercom Megah, Jl. Joglo Raya Blok W-IV No.27, Srengseng, Kec....

BCA KCP Kreo Ciledug Telpon/WA:08137887595

By tanehome

BCA KCP Kreo Ciledug Telpon/WA:08137887595.Jl. HOS Cokroaminoto Jl. Ciledug Raya, RT.001/RW.006, Kreo Selatan, Kec....

BCA KCP Penjernihan Telpon/WA:08137887595

By tanehome

BCA KCP Penjernihan Telpon/WA:08137887595.Jl. Penjernihan I No.23, Bend. Hilir, Kecamatan Tanah Abang, Kota Jakarta...

Visit the forum

Question of the Day

Increase Deadlock Detection

How can I alter the deadlock detection interval to 2 seconds instead of 5 seconds on my SQL Server 2025 instance?

See possible answers