02 July,2021 by Tom Collins
Question: On my laptop - SQL server SSMS crashed a couple of days ago and I lost the scripts I was working on. Is it possible to recover those scripts?
Answer:
For SSMS 18,the files can be found at this location:
C:\Users\YourUserName\Documents\Visual Studio 2017\Backup Files\Solution1
For SSMS 17, the files can be found at this location:
C:\Users\YourUserName\Documents\Visual Studio 2015\Backup Files\Solution1
There are also AutoRecover options you can configure on SSMS | Tools|Options|Environment|AutoRecover
1)Save AutoRecover information every: XX minutes
2)Keep AutoRecover information for: xx days
Read more on SSMS management
SSMS Query Options – Discard results after execution
How to start SSMS as Administrator
This is only a preview. Your comment has not yet been posted.
As a final step before posting your comment, enter the letters and numbers you see in the image below. This prevents automated programs from posting comments.
Having trouble reading this image? View an alternate.
Posted by: |