This month's discount Comprehensive Database Performance Health Check · Testimonials
SQLAuthority with Pinal Dave
Home
  • Consulting
    • Health Check
  • Free Videos
  • All Articles
    • AI
    • SQL Performance
    • SQL Tips and Tricks
    • Interview Questions and Answers
    • SQL Puzzle
    • SQL Video
    • SQLAuthority News
    • Personal
  • Books
  • Consulting
A strapped bundle of oak parquet blocks with a red band beside a jumbled heap of planks.

Parquet Exports From SQL Server 2022 With CETAS

November 10, 2021
Pinal Dave
SQL Tips and Tricks
Cloud Computing, File format, SQL Server, SQL Server 2022

Build Parquet exports from SQL Server 2022 with PolyBase CETAS, S3-compatible storage, and checks for rows, types, and files.

Read More
Mismatch Between

SQL SERVER – Mismatch Between sys.database_files and sys.master_files For TempDB Database

December 6, 2019
Pinal Dave
SQL Tips and Tricks
File format, SQL Error Messages, SQL Scripts, SQL TempDB

I would share my knowledge and findings of a situation where there was a mismatch between sys.database_files and sys.master_files for the TempDB database!

Read More
print statement

SQL SERVER – PRINT Statement and Format of Date Datatype

August 23, 2019
Pinal Dave
SQL Tips and Tricks
File format, SQL DateTime, SQL Function, SQL Scripts, SQL Server, SQL String

we took a 5 minutes coffee break and during that short time, one of the DBA asked me a question about PRINT Statement and DataType.

Read More
An amber warning lamp standing alone on wet concrete in a dark plant room

SQL SERVER – Timeout Occurred While Waiting for Latch: Class FGCB_ADD_REMOVE

October 11, 2018
Pinal Dave
SQL Tips and Tricks
Disk, File format, SQL DMV, SQL Error Messages, SQL Extended Events, SQL Log, SQL Server, SQL Server Configuration

Latch FGCB_ADD_REMOVE timeouts mean a data file is growing slowly. Measured on SQL Server 2025: 4 GB of data in 98 ms, 4 GB of log in 2.3 seconds.

Read More
File folder icon.

How to Move SQL Server MDF and LDF Files? – Interview Question of the Week #189

September 2, 2018
Pinal Dave
SQL Interview Questions and Answers
File format, SQL Scripts, SQL Server

How do you move SQL Server MDF and LDF files? Detach and attach is the old way, so here is the step-by-step method I use for my clients today.

Read More
Folder icon.

SQL SERVER – Rename Physical Database File Name for Any Database

September 1, 2018
Pinal Dave
SQL Tips and Tricks
File format, SQL Scripts, SQL Server

Can you rename the physical file of a database? Yes, and following my post on logical names, here are the steps to rename physical database files.

Read More
Database folder icon.

SQL SERVER – Rename Logical Database File Name for Any Database

August 31, 2018
Pinal Dave
SQL Tips and Tricks
File format, SQL Scripts, SQL Server

After a restore, the logical file name broke my client’s naming rules. Here is how to rename logical database file names in a few quick steps.

Read More
1 2 3 Next
  • Books
  • Testimonials
  • Privacy Policy

© 2006 – 2026 All rights reserved. pinal @ SQLAuthority.com