An error occurred while installing the SQL database.
When you install a database, a prompt is displayed.ProgramPreviously installed, in the file suspended status, you need to restart the computer to install. However, after restarting, the solution is as follows:
Open the Registry Editor, find the pendingfilerenameoperations project in HKEY_LOCAL_MACHINE/system/CurrentControlSet/control/session manager, and delete it. In this way, you can clear the temporary installation project.
1) Add/delete programs to completely delete SQL Server.
2) Delete the SQL Server Directory that has not been deleted.
3) Open the Registry Editor, find the pendingfilerenameoperations project in HKEY_LOCAL_MACHINE/system/CurrentControlSet/control/session manager, and delete it. In this way, you can clear the temporary installation project.
4) Delete the SQL Server-related keys in the registry.
In fact, it is estimated that only step 1 can be done, so that you can clear the installation of temporary projects. I did this by leaving for 1, 2, 4, and 3. Therefore, estimation 3 is the most critical.