There are instances where in we need to rename the files and below simple Alter command will do that for you : ALTER DATABASE <Database> MODIFY FILE (NAME = <Current…
Quote Adding BUILTIN\Administrators back to SQL Server Recently I had to add BUILTIN\Administrators back to the server and here is what I had to do for the same. …
Recently I came across a situation where in I had to scripyt out the permissions of all the stored procedures for a database.After lot of R&D came across a SP…
For the SQL Server resource we need to add a dependency of the drive to which we are moving the database and log files. 1. Right click the SQL…
SQL Server configuration manager throws this error sometimes if we change start-up parameters for any instance and the solution is : Start > Run > type services.msc and press…