How to Give Same Permission to Multiple Users in SQL Server using T-SQL

Managing user permissions efficiently is a crucial aspect of database administration. In SQL Server, T-SQL provides a powerful toolset for granting permissions, and it becomes even more beneficial when you need to assign the same set of permissions to multiple users. This article will guide you through the process of streamlining this task using T-SQL. … Read more…

SQL Server Error 262: CREATE DATABASE permission denied in database – How to Resolve

Hi friends! In this article, we’ll be discussing about “SQL Server error 262: CREATE DATABASE permission denied in database ‘database_name’, and how you can resolve it.   About the above “permission denied” error This error serves as a reminder that not every user in a SQL Server environment has the authority to create databases. This … Read more…

SQL Server error 18456: Login failed for user – How to Resolve

The error message “SQL Server error 18456: Login failed for user <username>‘” may appear, under certain circumstances, when you attempt to access your SQL Server database using a specified username and password. In this article, we’ll be discussing about how you can resolve the issue.   How to Resolve the “Login Failed for User” Error … Read more…

SQL Server Database Design Best Practices

Database design is a critical aspect of SQL Server development. A well-designed database can improve data quality, increase performance, and reduce maintenance costs. In this article, we’ll cover various best practices for designing SQL Server databases, including normalization, data types, and relationships.   Normalization Normalization is the process of organizing data in a database to … Read more…

SQL Server Database Backup and Recovery Guide

SQL Server database backup and recovery is a critical task for any database administrator. Having a reliable backup and recovery strategy in place, can help ensure that critical data is not lost and operations can resume as soon as possible in the event of a hardware failure, software issue, or other data loss event. In … Read more…

Advanced SQL Server Features and Techniques for Experienced DBAs

Hi friends, in this article, we’ll be discussing about certain advanced SQL Server features and techniques, that can help experienced DBAs, to tune the SQL Server data platform even more, in terms of performance, security and scalability. So, as an experienced SQL Server DBA, you are probably familiar with the fundamentals of SQL Server. There … Read more…

An error occurred in a SQL Server Service Broker/Database Mirroring transport connection endpoint (9642) – How to Resolve

Hi friends, in this article, we will be discussing about how to troubleshoot the following error message: “Event ID: 9642. An error occurred in a SQL Server Service Broker/Database Mirroring transport connection endpoint.“.   About the Service Broker/Database Mirroring transport connection endpoint error We can see from the error message, that it refers to a … Read more…

How Can I Check the Isolation Level for a Specific SQL Server Database?

You can easily get details about the isolation level for a given SQL Server database by using the below T-SQL script: USE [DatabaseName]; GO DBCC USEROPTIONS; GO   Example from our Demo Environment:   Enroll to our Online Course and Learn More about SQL Server Administration Check our online course on Udemy titled “Essential SQL … Read more…

Within Which Context Does SQL Server Access Network Resources?

In this post, we discuss about the context within which SQL Server accesses network resources via the Database Engine and SQL Agent.   How Does SQL Server Access Network Resources When you run adhoc queries (i.e. execute stored procedures, use OPENROWSET, etc.) targeting resources outside the scope of the SQL Server instance (i.e. a file … Read more…

initerrlog: could not open error log file. Operating system error=3 … – How to Resolve It

Hi friends, this post, discusses about how you can resolve the following SQL Server-related error message: initerrlog: could not open error log file ”. Operating system error=3 (The system cannot find the path specified).   What does the above error message mean? The above error message, as it describes, means that SQL Server cannot find … Read more…

SQL Server Lifecycle Information – New Free Service

Hi friends! Today, we are pleased to announce a new free online service on SQLNetHub, titled “SQL Server Lifecycle Information“. By using the free service “SQL Server Lifecycle Information“, as the name implies, you can easily get useful SQL Server lifecycle information such as: release date, mainstream support end date and extended support end date. … Read more…

Tip of the Week No.18 – Benefits of Using Database Stored Procedures

Check our Tip of the Week, where in this week, we discuss about the benefits of using database stored procedures. Tip of the Week #18 Using stored procedures in your database processes, can be very beneficial, not only for performance, but also for security and code reuse. Below, we list some of the main benefits, … Read more…

Tip of the Week No.17 – Modern Servicing Model for SQL Server 2017 and Later

Check our Tip of the Week, where in this week, we discuss about the modern servicing model for SQL Server 2017 and later. Tip of the Week #17 Starting with SQL Server 2017, the servicing model for SQL Server has changed. One of the major changes, is that Microsoft releases a series of Cumulative Updates … Read more…