Recover unsaved SQL query scripts

前端 未结 14 1704
旧巷少年郎
旧巷少年郎 2020-12-07 06:55

How to recover the unsaved scripts if the SSMS crashes / unsaved tab gets accidentally closed?

14条回答
  •  忘掉有多难
    2020-12-07 07:15

    A bit late to the party, but none of the previously mentioned locations worked for me - for some reason the back up/autorecovery files were saved under VS15 folder on my PC (this is for SQL Server 2016 Management Studio)

    C:\Users\YOURUSERNAME\Documents\Visual Studio 2015\Backup Files\Solution1

    You might want to check your Tools-Options-Environment-Import and Export Settings, the location of the settings files could point you to your back up folder - I would never have looked under the VS15 folder for this.

提交回复
热议问题