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 glass pipette above selected potato pieces, one with a blue-black spot, beside untouched carrots and tomatoes

REGEXP_LIKE Performance: Why Pattern Filters Cannot Seek

August 11, 2014
Pinal Dave
SQL Performance
SQL Index, SQL Performance, SQL String

A short pattern can run a long CPU bill. Here is why REGEXP_LIKE scans, and how a plain prefix filter gives the index something to seek.

Read More
Detailed leaf impression in wax beside smooth wax in a wider saucer

Unicode Lost: Finding Question Marks Left by varchar Conversion

June 22, 2014
Pinal Dave
SQL Tips and Tricks
SQL Collation, SQL String, Unicode

Customer names turn into question marks, and an nvarchar column does not bring them back. Here is how it happens and how to repair it.

Read More
A needle stitching a small red flower in cross stitch on linen stretched in a wooden embroidery hoop.

UNISTR and Unicode Escapes in SQL Server 2025

May 18, 2014
Pinal Dave
SQL Tips and Tricks
SQL Collation, SQL Function, SQL Server, SQL String, Unicode

Build Unicode strings with UNISTR in SQL Server 2025, compare NCHAR, and preserve accented letters, Hindi text, and emoji in storage.

Read More
An extended adjustable crutch stands beside a shorter adjusted crutch with intact supports

Sizing nvarchar Columns: How Long Should a Name Be?

April 19, 2014
Pinal Dave
SQL Tips and Tricks
SQL Datatype, SQL String, Unicode

A name fits the web form but fails in the table. Measure real lengths in characters and bytes before you choose a size.

Read More
A router bearing follows a curved wooden guide while a spare bit lacks a guide

Agent Tokens in Job Steps: Job Name, Step and Start Time

February 9, 2014
Pinal Dave
SQL Tips and Tricks
SQL Monitoring, SQL Server Agent, SQL String

A copied job should log its own name, not the old one. Agent tokens do that, if you escape them the right way.

Read More
Matching brass iris rings have wide and narrow openings with different light patches behind them

Case-Insensitive and Multiline Regex Flags in SQL Server 2025

January 24, 2014
Pinal Dave
SQL Tips and Tricks
SQL Function, SQL String, Testing

Your pattern passed the test string and then missed rows in the table. The flags and the line endings are the usual reason.

Read More
A pebble tumbler holds varied stones while two similar stones lie beside it

Generating Unique, Hard-to-Guess Voucher Codes in T-SQL

December 17, 2013
Pinal Dave
SQL Tips and Tricks
Primary Key, SQL Random, SQL String

Random-looking codes can still be guessed. Build 20 voucher codes from random bytes, check them, and make redemption single-use.

Read More
Previous 1 … 6 7 8 9 10 11 12 … 22 Next
  • Books
  • Testimonials
  • Privacy Policy

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