Skip to content

Our Tech Ideas

Great minds discuss ideas!

List all User, Roles for all the databases

List all Login, User & DB Role in SQL Server

11 April 2023 By OTI Leave a comment MSSQL

Description This script generates a list of Logins, Users and the Database Roles that the user belongs to in all the databases in A SQL Server; with a couple of other useful information detailed below. Other benefit: you can use…

Read More →
How to check database encryption in sql server

How to check database encryption in sql server

3 April 2023 By OTI Leave a comment MSSQL

Introduction Data security is a critical aspect of database management, and encrypting sensitive data is crucial to safeguarding it from unauthorized access. In SQL Server, Transparent Data Encryption (TDE) provides real-time encryption and decryption of the entire database, ensuring the…

Read More →
Find the users connected to SQL Server

Find the users connected to SQL Server

28 March 2023 By OTI Leave a comment MSSQL

In a SQL Server environment, it can be useful to monitor the user activity and track who is connected to the databases, from which machine they are connected, when they connected and what application they are running. In this blog,…

Read More →
SQL

Check SQL Server Version & license details

12 March 2023 By OTI Leave a comment MSSQL

As a SQL Server DBA, I would rephrase the statement as follows: While SQL Server does not keep track of license information, it can provide you with details about the installed edition and version. To ensure proper licensing, it is…

Read More →
Story of innocent DBA

SQL‌ ‌Server‌ ‌DBA‌ ‌Roles‌ and‌ ‌Responsibilities

25 February 2023 By OTI 1 Comment MSSQL

Are you interested in the world of database management? Do you aspire to become a SQL Server Database Administrator (DBA)? In this post, we will explore the primary responsibilities of a SQL Server DBA and shed light on their crucial…

Read More →
Identify and Store Long Running Queries

Identify and Store Active Transactions

10 February 2023 By OTI Leave a comment MSSQL

Scenario How to Identify and Store Currently Running Queries in a Table? To retrieve information about currently executing requests on a Microsoft SQL Server database, we can use several Dynamic Management Views (DMVs) to gather information about the status of…

Read More →
Backup TDE protected database on Azure Managed Instance

Backup TDE protected database on Azure Managed Instance

9 February 2023 By OTI Leave a comment MSSQL

We can take a COPY_ONLY backup of a TDE protected (encryption enabled) database on Azure SQL Managed Instance using the following steps. 1. Connect to your Azure SQL Managed Instance using SQL Server Management Studio or Azure Data Studio2. Check…

Read More →

TempDB files recommendation in SQL Server

8 February 2023 By OTI Leave a comment MSSQL

The number of tempdb data files in an SQL Server depends on several factors, including the number of logical processors on the server. As a general recommendation, it’s best to have one tempdb data file for each logical processor, up…

Read More →

Shrinking TempDB in SQL Server: A Step-by-Step Guide

7 February 2023 By OTI Leave a comment MSSQL

Introduction In SQL Server, TempDB is a system database used to store temporary objects, intermediate results of queries, and other temporary data. Over time, TempDB can grow significantly, leading to disk space issues. Shrinking TempDB can help reclaim disk space…

Read More →
How to change SQL Server instance name

How to change SQL Server instance name

3 January 2023 By OTI Leave a comment MSSQL

Scenario Troubleshooting host name changes. When the machine name is changed where we have installed SQL Server, all the instances services are started but replication, Jobs, Alerts, Maintenance plans causes errors. Hence we have to rename the instance. Solution To…

Read More →

Posts pagination

← Previous 1 … 10 11 12 13 14 … 22 Next →

Recent Posts

  • SQL Server Database Stuck in Recovery Pending After VM Reboot – A Real-World Root Cause and Fix 10 April 2026
  • SQL Server Out of Memory (OOM) Error: Causes, Fixes 8 April 2026
  • Future-Proof Your SQL Server DBA Career in 2026 8 April 2026
  • Automating SQL Server Index Maintenance Using Dynamic T‑SQL 24 March 2026
  • How to Find Private Database Mail Profiles Associated with Logins in SQL Server 4 March 2026

Categories

Archives

Our Tech Ideas

Welcome to OurTechIdeas.com, your go-to destination for insightful and practical SQL Server DBA-related technology content. Based in the vibrant city of Bangalore, India, we are a team of passionate learners dedicated to sharing our knowledge and experiences with the tech community.

© 2026 Our Tech Ideas. All rights reserved.