-
Rename a Database in SQL Server
11 October 2019Introduction 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…
-
Shrinking the Large Log File in SQL Server
10 October 2019Scenario We recently came across a situation where one of the drives in the production server is almost full. There are two large databases and they were not backed up….
-
Find the database file growth for all the databases in SQL Server
7 October 2019Introduction Find the database file growth for all the databases. It is not a good practice to keep your database file growth limited. In that case, you may get an…
-
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…
-
How to get all statistics information for a database in SQL Server
4 October 2019Introduction: Sometimes your query gives you very bad performance because of statistics as SQL database engine Query optimizer uses statistics to create query plans. Updated statistics will give you good…
-
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…
-
Step By Step Installation Of Microsoft SQL Server 2016
3 October 2019Introduction In this post, we will try to show step by step Microsoft SQL Server 2016 installation on Windows Server 2012R2. Microsoft SQL Server 2017 is the latest stable version…
-
Database Backup & Restore in SQL server
2 October 2019Introduction Backing up a database is one of the most important things you need to do when having a database depended application. It’s only all of your data in there,…