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 wooden toy train with its colored carriages uncoupled and laid in a straight line on the floor, engine at the front.

STRING_SPLIT and Its Ordinal Column

February 10, 2010
Pinal Dave
SQL Tips and Tricks
SQL Function, SQL Server, SQL Server 2022, SQL String

STRING_SPLIT and its ordinal column preserve token positions when you request the third argument and sort by ordinal in SQL Server.

Read More
SQL Server query window.

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

December 21, 2009
Pinal Dave
SQL Tips and Tricks
Database, SQL Scripts, SQL String, SQL XML

Comma Separated Values from a table column, part 2: SUBSTRING limits the XML length, so I rewrote the query with STUFF and FOR XML PATH to remove it.

Read More
SQLAuthority News - Featured on Channel 9

SQLAuthority News – Featured on Channel 9

December 12, 2009
Pinal Dave
SQLAuthority News
Database, SQL String

This blog was featured on Channel 9 in This Week on Channel 9, where Scott Hanselman and Jon Galloway talked about my CSV from table column post.

Read More
A string of dried chili peppers hung in order from smallest to largest, hands adding one fresh red pepper in place.

Ordered Comma Lists With STRING_AGG and WITHIN GROUP

September 18, 2009
Pinal Dave
SQL Tips and Tricks
SQL Function, SQL NULL, SQL Server, SQL String

Build ordered comma lists with STRING_AGG and WITHIN GROUP, remove duplicates, handle nulls, and avoid fixed-length result limits.

Read More
Gouache painting: in the upper row they are ordered by the color of their base band, so the tallest candle with the earliest color stands first

MIN and MAX Text: Collation Chooses the Extremes

August 2, 2009
Pinal Dave
SQL Tips and Tricks
SQL Function, SQL Scripts, SQL String

MIN and MAX text use collation ordering, not numeric magnitude. Compare digit strings, empty text and NULL using an explicit BIN2 contract.

Read More
A fishing net hauled onto a jetty holds a few whole fish while sand and pebbles stream through its mesh.

Full-Text Search Basics

July 26, 2009
Pinal Dave
SQL Tips and Tricks
SQL Index, SQL Scripts, SQL Server, SQL String

Full-text search basics explains catalogs, full-text indexes, CONTAINS, and LIKE so SQL Server searches match the question and the data.

Read More
A long blue ribbon with a notched end lies beside a closed walnut box and red cord.

LEFT Boundaries: Zero, Oversized Length and Missing Text

April 7, 2009
Pinal Dave
SQL Tips and Tricks
SQL Function, SQL Server, SQL String

LEFT boundaries keep empty prefixes separate from missing values. Eight short Unicode cases expose zero, oversized and missing lengths. A separate invalid request shows why negative lengths need validation.

Read More
Previous 1 … 14 15 16 17 18 19 20 … 23 Next
  • Books
  • Testimonials
  • Privacy Policy

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