Friday, May 16, 2025

Restore of database failed sql server

>Open sql server

>Right Click on database >click on task>restore>database

>From device >select database bak file

>In option tab > Check overwrite the existing database (with replace)

or > in file tab click on reallocate all files to folder

Tuesday, May 13, 2025

How to collapse and expand functions of class in Visual studio

 Ctrl+M+M


Or in visual studio go to Edit and outlining and there are different shortcuts for more commands.