Close
  • Blog
  • About
×
×
  • Blog
  • About
Menu & Search
MSSQL DBA Blog
SQL Server

SQL Server

Enable CDC in SQL Server
August 29, 2022
SQL Server
How to Enable CDC in SQL Server

This is a post on how to enable Change Data Capture (CDC) in SQL Server. Enabling this on a database and table will allow the recording of activity when tables and rows have been modified.

Read More
SQL Server Default Port
August 26, 2022
PowerShell
SQL Server
Windows
SQL Server Default Port

The default port for the SQL Server Engine is 1433, which is a useful thing to know if you’re working as a Database Administrator (DBA) or Database Reliability Engineering (DBRE) type role.

Read More
SSMS Run as a Different User
August 25, 2022
SQL Server
Windows
How to Connect to SQL Server with a Different Domain User Account

This post is a guide on how to connect to SQL Server with Windows Authentication, but using a different Domain User rather than your own.

Read More
Rename SQL Server
August 23, 2022
SQL Server
Windows
How to Rename a Computer that Hosts SQL Server

When changing the hostname of a computer that is running SQL Server, we have to update system metadata so that remote connections and applications do not lose connectivity.

Read More
Get Database Sizes SQL Server
August 20, 2022
SQL Server
Get All Database Sizes in SQL Server

Measuring databases is important for knowing how much disk space a SQL Server requires today, as well as the future growth of the database files.

Read More
Backup Database SQL Server
August 19, 2022
SQL Server
How to Backup a SQL Server Database

This post contains a demo on how to backup a SQL Server Database and includes some information on the types of backups available in MS SQL.

Read More
SQL Estimated Database Restore Time
August 18, 2022
SQL Server
Get Estimated Backup Restore Time in SQL Server

This post contains a SQL script to get estimated completion times and process information for your currently running database backups &

Read More
Get Database Backup History
August 17, 2022
SQL Server
How to Get Last Backup Times for all Databases in SQL Server

This is a post on how to get the last backup dates and times for all databases on a SQL Server Instance.

Read More
Drop Table if Exist
July 26, 2022
SQL Server
Drop Table if Exists in SQL Server

The DROP TABLE command in SQL Server will do as it suggests and drops a table. This post is to show an example of using this command, including the IF EXISTS argument.

Read More
database last restore time
July 23, 2022
SQL Server
Get Last Database Restore DateTimes in SQL Server

This post contains a script to help you get the last dates and times for when your databases were last restored in SQL Server.

Read More
1 2 3 4 … 8
Peter Whyte DBA

Peter Whyte

Blog Menu

  • Homepage
  • MSSQL DBA Blog
  • SSMS Tips
  • SQL Notes & Links
  • DBA Blog Archives
  • WSL Windows Tips
  • Projects

Categories

  • AWS (5)
  • Linux (34)
  • MySQL (5)
  • Postgres (7)
  • PowerShell (48)
  • RedShift (7)
  • SQL Server (78)
  • Windows (64)
  • WordPress (2)

Tags

Active Directory (AD) (4) AWS CLI (3) CDC (2) Certificates & Encryption (3) Change Data Capture (2) CSV Files (4) Database Admin (54) Database Backups (10) Data Types (2) Deleting Data (2) Error Messages (4) Featured (4) Git (11) Git Commands (4) Git Log (3) Installing SQL Server (10) Linked Servers (3) Linux Admin (2) Measuring Databases (9) MSSQL SPIDs (3) NetFirewallProfile (3) New-Item PowerShell (2) PowerShell Create Folder (2) PowerShell Delete Files (2) PowerShell ForEach (2) PowerShell Tips (20) PowerShell Version (2) Restoring Databases (7) SQL Server Agent (4) SQL Server ETL (2) SQL Server Management Studio (SSMS) (14) SQL Server Processes (6) SQL Server Scripts (3) SQL Tips (19) SSH (2) SSMS Tips (9) Temp DB (2) Windows Admin (21) Windows Firewall (4) WordPress Tutorials (2) WSL (22) WSL1 (4) WSL2 (4) WSL Ubuntu (6) WSL Version (4)