Recover unsaved SQL query scripts
Posting this in case if somebody stumbles into same problem. Googled for Retrieve unsaved Scripts and found a solution. Run the following select script. It provides a list of scripts and its time of execution in the last 24 hours. This will be helpful to retrieve the scripts, if we close our query window in … Read more