Skip to content

NTSEQ:- A IT Infrastructure and Cyber Security Blogs

Author:

What is the SQL Server Agent?

SQL Server Agent:- • SQL Server Agent uses SQL Server to store job information • A job is a specified

Continue reading

Shrinking Database In SQL SERVER

Database Shrinking Commands • DBCC SHRINKDATABASE (ShrinkDB, 10) • DBCC SHRINKFILE (ShrinkDB, 10)   Note:- Imapact of shrinking database:- 1. 

Continue reading

Maintenance Plan Tasks in MS SQL SERVER

Check Database Integrity Purpose: • The DBCC CHECKDB performs an internal consistency check  • very resource intensive • perform it

Continue reading

Restore Database with Recovery and No Recovery

–Restore Database With NORECOVERY  & With Recovery USE [master] RESTORE DATABASE [Test] FROM  DISK = N’C:FullBackupsBackupDatabase.bak’ WITH  FILE = 1,

Continue reading

How to take full backup in SQL Server ?

Take full database backup using below query:-  BACKUP DATABASE [Demo]  TO  DISK = N’C:fullbackupsDemo.bak’  WITH NOINIT,  –<< No override NAME

Continue reading

How to Move User Database .mdf and .ldf Files to Another Location

  Let us Consider we have two folders location1 and location2. We want to move database files from loc1ation1 to

Continue reading

How to detach the database in SQL Server ?

The following scripts will detach and then reattach the Test database   Find the path of the database sp_helpdb Test

Continue reading

How to Move Tempdb ?

find the path of tempdb sp_helpdb tempdb name                        

Continue reading

How to Create a database with proper configuration ?

  Create a database with proper configuration taking in the following consideration: pre size the data file and auto growth

Continue reading

What is Virtual Log Files (VLF) in SQL Server ?How to Get VLF Count and Size in SQL Server?

  The size and number of VLF added at the time of expanding the transaction log is based on this

Continue reading

Posts pagination

«Previous Posts 1 … 31 32 33 34 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.