-
Daily Commands for Database Administrators
30 September 2023As a database administrator (DBA), navigating the vast landscape of database management can be challenging and rewarding. It’s important to be able to execute the commands necessary to simplify day-to-day…
-
Understanding SQL Server Roles: Server Admin vs. Sysadmin
31 August 2023Introduction Managing a SQL Server environment involves various roles and responsibilities. Two key roles in this context are the “serveradmin” and “sysadmin” (System Administrator). Recently one of my friend was…
-
How to set Maximum Memory for SQL Server
One crucial aspect is setting the maximum memory for SQL Server. Recently one of my friend was asked this question in an interview. In this blog, we’ll explore why this…
-
Understanding SQL Server Permissions: GRANT vs. WITH GRANT
Introduction We’ve ever worked with SQL Server, we’ve probably encountered the need to manage permissions. Permissions control who can access and manipulate data within a database. Two commonly used SQL…
-
Renaming a SQL Server Database in an Always On Availability Group
11 August 2023Introduction Renaming a database in SQL Server that is part of an Always On Availability Group requires careful planning and execution to ensure minimal impact on the availability and functionality…
-
Unable to open the “Properties” window for databases on the Managed Instance
7 August 2023Issue Definition Unable to open the “Properties” window for databases on the Managed Instance using SSMS. Getting error message. Error message Subquery returned more than one value. This isn’t permitted…
-
-
Analyzing Statistics in SQL Server
19 July 2023Introduction In the world of database management, understanding the statistics of your SQL Server database is crucial for optimizing query performance. SQL Server provides a powerful set of system views…
-
Find Object-Level Permissions in SQL Server with T-SQL
14 July 2023Introduction Managing permissions is a critical aspect of database security. As a database administrator or developer, it’s important to have a clear understanding of the permissions assigned to various logins…
-
Which login has write access on database
6 July 2023Introduction In this blog post, we will explore how to use T-SQL (Transact-SQL) to identify which logins have write access to a particular database. Let’s dive into the world of…