Recover unsaved SQL query scripts

前端 未结 14 1700
旧巷少年郎
旧巷少年郎 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:25

    You may be able to find them in one of these locations (depending on the version of Windows you are using).

    Windows XP

    C:\Documents and Settings\YourUsername\My Documents\SQL Server Management Studio\Backup Files\
    

    Windows Vista/7/10

    %USERPROFILE%\Documents\SQL Server Management Studio\Backup Files
    

    OR

    %USERPROFILE%\AppData\Local\Temp
    

    Googled from this source and this source.

提交回复
热议问题