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
Gouache painting of two boxes of colored pencils side by side, one wide box with all colors mixed together in rows and the other with the same pencils standing in tall separate cups, one color to a cup, with one vermilion cup.

Columnar File Formats: Why Parquet Changed Big Data

October 10, 2013
Pinal Dave
SQL Tips and Tricks
ColumnStore Index, Compression, Data Warehousing, File format

Columnar file formats store a table one column at a time, so a report reads and compresses only the columns it needs. This post compares rows and columns on a tiny table, explains how a Parquet file is laid out, and measures the size difference in SQL Server 2025.

Read More
A brass telescope on a harbor balcony aimed at a cargo ship anchored far out in the bay with containers on its deck.

Querying External Files With PolyBase

October 7, 2012
Pinal Dave
SQL Tips and Tricks
Cloud Computing, CSV, File format, SQL Server

PolyBase and SQL Server external tables expose CSV and Parquet files through schemas, while query plans show whether filters reduce remote work.

Read More
Gouache painting of mixed tiles travelling down wooden channels into organized rows in a sorting tray.

Importing CSV File into SQL Server: SQL in Sixty Seconds #018

June 20, 2012
Pinal Dave
SQL Video
CSV, File format, SQL in Sixty Seconds, SQL Scripts

Importing CSV file data into SQL Server means matching the file to a table, loading it and checking the result. The tests here show a bad row skipped after a printed error, a text staging load, and the encoding and line ending settings that break a load.

Read More
A harbor crane lowering a blue shipping container onto a truck trailer, its corners lined up with the locks

Moving Data Out of SQL Server in Open Formats

February 26, 2012
Pinal Dave
SQL Tips and Tricks
CSV, ETL, File format, JSON, SQL Server

Move SQL Server data into open formats such as CSV, JSON, and Parquet while preserving types, NULLs, encoding, and readable files.

Read More
A pasta cutter slicing a sheet of dough into ribbons of equal width, ragged edge trimmings piled aside.

Reading Fixed-Width Text Files With OPENROWSET and a Format File

February 13, 2012
Pinal Dave
SQL Tips and Tricks
CSV, File format, SQL Datatype, SQL Server

Read fixed-width text files with OPENROWSET and an XML format file, trim fields, validate conversions, and load only acceptable rows.

Read More
A hand picking an odd cherry out of a sorting tray

Importing CSV Files Without Surprises

June 19, 2011
Pinal Dave
SQL Tips and Tricks
CSV, ETL, File format, SQL Server

Importing CSV files Without Surprises covers quoted delimiters, UTF-8 encoding, dates, staging tables, and SQL Server BULK INSERT FORMAT = ‘CSV’.

Read More
A barge unloading grain sacks at a quay, with a weighing scale and sorting table set before the storehouse.

Loading Large Files Fast With BULK INSERT

March 14, 2010
Pinal Dave
SQL Tips and Tricks
CSV, File format, SQL Log, SQL Server

BULK INSERT loads large SQL Server files through a tested format, accessible path, staging table, measured batches, and final validation.

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

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