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
SQL SERVER - Why We have Audit Trace in DATA Folder? What are These Files?

SQL SERVER – Why We have Audit Trace in DATA Folder? What are These Files?

May 15, 2017
Pinal Dave
SQL Puzzle
File format, SQL Audit, SQL Scripts, SQL Server

The DATA drive filled up with thousands of audittrace .trc files. Here is why SQL Server writes audit trace files there and how to stop them.

Read More
Sqlcmd cmdlet output in terminal.

PowerShell – Tip: How to Format PowerShell Script Output?

October 22, 2016
Pinal Dave
SQL Tips and Tricks
File format, PowerShell, SQL Scripts, SQL Server

Raw PowerShell output is hard to read. Here are three common ways to format PowerShell script output, starting with Format-Table, so results make sense.

Read More
SQL Server Setup error.

SQL SERVER – Installation Error – File Format is Not Valid

March 12, 2016
Pinal Dave
SQL Tips and Tricks
File format, SQL Error Messages, SQL Server

At the license agreement step, SQL Server setup stopped with ‘File format is not valid’. Here is what caused this Installation Error for my client and the fix.

Read More
Gouache painting of a row of wooden beads on linen ending in a small vermilion knot, with the last bead sitting apart on the cloth

Extracting the Folder and File Name From a Full Path in T-SQL

December 14, 2015
Pinal Dave
SQL Tips and Tricks
Best Practices, File format, SQL Server

Split a path at the last backslash and handle the odd inputs. Bare names, empty values, trailing spaces and NULL all behave.

Read More
Folded and partly opened corn-husk parcels keep rice and vegetables together inside their wrappers

BULK INSERT With FORMAT CSV and FIELDQUOTE for Quoted Files

February 18, 2015
Pinal Dave
SQL Tips and Tricks
CSV, ETL, File format

A comma inside a quoted name can break a CSV load without any error. Here is how FIELDQUOTE fixes it, and how to validate what arrives.

Read More
A tray of seed potatoes in neat rows, a hand removing one spoiled potato into a red bowl

Reading a JSON Lines File Into a Table With OPENROWSET

October 22, 2013
Pinal Dave
SQL Tips and Tricks
ETL, File format, JSON, SQL Server

Load JSON Lines with OPENROWSET BULK, keep UTF-8 text intact, quarantine invalid objects, and insert validated typed rows.

Read More
Gouache painting of a stack of loose blank pages being clipped into a sturdy ring binder with colored tabs along the edge and a vermilion ribbon bookmark, with older loose pages lying beside it.

Open Table Formats: Delta Lake and Apache Iceberg Explained

October 21, 2013
Pinal Dave
SQL Tips and Tricks
Cloud Computing, Data Warehousing, Database, File format

Open Table Formats turn a folder of Parquet files into a real table with transactions, history and safe schema changes. This post shows how Delta Lake and Apache Iceberg do it with a metadata layer, how a commit stays atomic, and what time travel means.

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

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