Skip to content

NTSEQ:- A IT Infrastructure and Cyber Security Blogs

Category: SQL Server -DBA

SQL Server -DBA, SQL Server Services, who dropped or altered tables,procedures or databases in SQL Server, What in SQL Server

How to find out the size of Indexes in SQL Server database?

we can find or calculate the size of every indexes in a table through sys.indexes and sys.dm_db_partition_stats DMF. SELECT SCHEMA_NAME(tn.schema_id)

Continue reading

How to find or capture out currently executing long time running queries in SQL Server ?

This is  one of the best script to troubleshoot SQL Server performance tuning. Below Script gives you all current running

Continue reading

Find Logins having more than one session in SQL Server

— Find Logins having more than one session SELECT login_name , COUNT(session_id) AS session_count FROM sys.dm_exec_sessions WHERE is_user_process = 1

Continue reading

How to find who is connected through SSMS (Sql Server management Studio)

Through Below Script we are able to find who is connected to SSMS:- SELECT dec.client_net_address , des.host_name , dest.text FROM

Continue reading

How to find out connection count on SQL Server by IP address?

Below query identifies sources of multiple connections to your SQL Server instance and also allow DBA to identify where the

Continue reading

How to find out all tables size details of a database in SQL Server ?

We can get table details with two ways: Through below script we are able to get all table details in

Continue reading

How to find out beneficial missing indexes for a database in SQL Server?

you can find out beneficial missing index in a database through below Script. It is very important to know that

Continue reading

Performance Tunning:- List out unused indexes in a database In SQL Server ?

Through Below script we can find out unused indexes in a database. Sometimes we have created some indexes in a

Continue reading

Performance Tunning:- Remove Index fragmentation for a database in SQL Server

Through Below Script we can remove index  fragmentation of a database in Sql Server.This is a very useful script to

Continue reading

How to resolve error ‘A network-related or instance-specific error occurred while establishing a connection to SQL Server?

Error: Sometimes you may get this below Error while connecting to SQL Server instance:- “A network-related error or instance-specific error

Continue reading

Posts pagination

«Previous Posts 1 … 5 6 7 8 9 … 17 Next Posts»
  • C Programming
  • C++
  • Cyber Security
  • Interview FAQ
  • Java
  • Linux
  • MySQL
  • Netseq.com
  • Oracle
  • PHP
  • Python
  • SQL
  • SQL Server -DBA
  • Active Directory Security: Strategies to Safeguard Your Organization
  • PowerShell scripts for Active Directory (AD)
  • Top 50 Essential Active Directory PowerShell Commands and Administrative Tools
  • Critical Windows Event ID’s to SOC Team Must Monitor
  • Top Cybersecurity Threats in 2025 and How to Protect Yourself
WordPress Theme: Wellington by ThemeZee.