Rename a Database in SQL Server

Introduction We can rename a user-defined database in SQL Server by using SQL Server Management Studio or Transact-SQL. System databases cannot be renamed. The database name cannot be changed while it is online and other users are accessing the database.…

Read More →

Database-Level Roles in SQL Server

Introduction There are two types of database-level roles: Fixed-database roles db_accessadmin Granted: ALTER ANY USER, CREATE SCHEMA,Granted with Grant option – Connect By SSMS By TSQL USE [Our_Tech_Ideas] — Database name GO ALTER ROLE [db_accessadmin] ADD MEMBER [login01] — Database…

Read More →

Table backup in SQL Server

Introduction Here we will discuss different backup strategies and methodologies used to take the table backup in SQL Server with real-life examples. There are different methods of taking backup in SQL server. Type 1: Taking Backup of the table using…

Read More →