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 - Comma Separated Values (CSV) from Table Column

SQL SERVER – Comma Separated Values (CSV) from Table Column

November 25, 2009
Pinal Dave
SQL Tips and Tricks
Best Practices, CSV, SQL Scripts, SQL Server, SQL XML

The script I use most often to build Comma Separated Values (CSV) from a table column with FOR XML PATH. I think XML is the best option for code and speed.

Read More
SQL Server TOP 100 PERCENT and ORDER BY Query Comparison.

SQL SERVER – Interesting Observation – TOP 100 PERCENT and ORDER BY

November 24, 2009
Pinal Dave
SQL Tips and Tricks
SQL Scripts, SQL View

ORDER BY in a view raises Msg 1033 unless TOP is used, so many developers add TOP 100 PERCENT. An interesting observation on what that really does.

Read More
SQL SERVER - A Common Design Problem - Should the Primary Key Always be a Clustered Index

SQL SERVER – A Common Design Problem – Should the Primary Key Always be a Clustered Index

November 23, 2009
Pinal Dave
SQL Tips and Tricks
SQL Constraint and Keys

Should the Primary Key always be a clustered index? A design discussion about SSN numbers stored as strings and when a separate clustered index makes sense.

Read More
A driver seen from behind in a car built for the other side of the road, reaching for a gear lever in the wrong place

SQL Server for Oracle DBAs: The Vocabulary

November 21, 2009
Pinal Dave
SQL Tips and Tricks
DBA, Oracle, SQL Server Architecture, Transaction Log

SQL Server for Oracle DBAs translates instance, database, schema, tablespace, undo, and redo without pretending the two architectures are identical.

Read More
Three small plain lockboxes of different sizes with separate brass keys grouped on an oak table.

TDE, Column Encryption and Always Encrypted Compared

November 20, 2009
Pinal Dave
SQL Tips and Tricks
Best Practices, Database, SQL Server, SQL Server Security

Compare SQL Server encryption options by the threat they address, where keys live, what applications must change, and how recovery is tested.

Read More
Gouache painting: a narrow wooden spice rack with exactly four small round slots stands on a kitchen counter, all four slots filled with matching small glass jars

smallmoney: Four Fractional Digits Need a Contract

November 15, 2009
Pinal Dave
SQL Tips and Tricks
SQL Datatype, SQL Function, SQL Scripts, SQL Server

smallmoney stores a bounded numeric amount with four fractional digits. These explicit conversions show retained and changed digits without making a financial storage recommendation.

Read More
Three garden sprinklers on separate hoses, all fed from one outdoor tap, each spraying a weak short arc.

Storage Settings That Matter for SQL Server

November 14, 2009
Pinal Dave
SQL Tips and Tricks
DBA, Disk, SQL Data Storage, SQL Server Configuration, SQL TempDB

Storage settings That Matter for SQL Server include latency, file placement, allocation unit size, and file growth; learn what to verify.

Read More
Previous 1 … 451 452 453 454 455 456 457 … 572 Next
  • Books
  • Testimonials
  • Privacy Policy

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