Follow sqlserver-dba.com

Subscribe to RSS feed  Follow @jackvamvas - Twitter

*Use the Comments section for questions

SQLServer-DBA.com Links

Dba_db2_button

dba-ninja.com

SQL Server DBA Jobs

How to recover SSMS auto recover scripts after crash

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

 

Autorecover

Read more on SSMS management 

SSMS Query Options – Discard results after execution

How to start SSMS as Administrator


Author: Tom Collins (http://www.sqlserver-dba.com)


Share:

Verify your Comment

Previewing your Comment

This is only a preview. Your comment has not yet been posted.

Working...
Your comment could not be posted. Error type:
Your comment has been posted. Post another comment

The letters and numbers you entered did not match the image. Please try again.

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.

Working...

Post a comment on How to recover SSMS auto recover scripts after crash


sqlserver-dba.com | SQL Server Performance Tuning | SQL Server DBA:Everything | FAQ | Contact|Copyright & Disclaimer