0
Ok, so SQL Server Management Studio (SSMS) lets me backup and restore SQL databases, which is pretty awesome an application QA Tester. It allows me to test different starting configurations without having to actually set up those starting configurations.
I am incredibly lazy and would like to write a script to do the backup/restore process instead of clicking through the SSMS UI. The fastest most accurate way I can think to do this is just pull the generated SQL command from SSMS after clicking through it to perform my backup/restore options. Is it possible to generate a SQL command through the UI Actions I perform in SSMS?