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: two identical toy trains with red engines and blue carriages standing on one wooden track

Text Equality: Trailing Spaces Can Compare as Equal

January 28, 2011
Pinal Dave
SQL Tips and Tricks
SQL Collation, SQL Datatype, SQL Server

Text equality can match different stored strings. Check byte length and complete representation when exact identity belongs to the contract.

Read More
An open hand holding two nearly identical red ladybirds, one with a single extra small dot.

Accent-Insensitive Searches: Finding Jose and José Together

October 11, 2010
Pinal Dave
SQL Tips and Tricks
Computed Column, SQL Collation, SQL Index, SQL Server

Build accent-insensitive searches with explicit collations, compare case rules, and index a computed search column for consistent lookup.

Read More
Gouache painting: two shallow trays of turned wooden acorns, each holding both large and small acorns

REPLACE With COLLATE: Choose Case Matching Explicitly

September 17, 2010
Pinal Dave
SQL Tips and Tricks
SQL Collation, SQL Function, SQL Server

REPLACE with COLLATE controls which substrings match. Preview case-dependent results before applying a text replacement policy.

Read More
Three leaf-pattern cloth samples mounted together in a wooden frame on a workshop bench.

Multi-Language Text: A Table Design for Translations

May 23, 2010
Pinal Dave
SQL Tips and Tricks
SQL Collation, SQL Table Operation, Unicode

Multi-language text separates product identity from translated names. This test setup checks requested, fallback, and base names, Unicode text, duplicate tags, missing rows, and a precise blank policy.

Read More
A loaf of bread on a cooling rack in front of a new oven, one end darker than the rest

Migrating From MySQL to SQL Server: The Gotchas

January 9, 2010
Pinal Dave
SQL Tips and Tricks
MySQL, SQL Collation, SQL Migration, SQL Server

Migrating from MySQL to SQL Server needs identity, collation, paging, and date rules, with SSMA assessing and converting the bulk of the work.

Read More
SQL SERVER - Change Collation of Database Column - T-SQL Script - Consolidating Collations - Extention Script

SQL SERVER – Change Collation of Database Column – T-SQL Script – Consolidating Collations – Extention Script

October 19, 2009
Pinal Dave
SQL Tips and Tricks
SQL Collation, SQL Scripts, SQL Utility

Brian Cidern’s extension script for consolidating collations across a database, a big help when you face the annoying cannot resolve collation error.

Read More
An open wooden specimen case holds cylinders, small blocks and polished stone spheres in separate compartments.

NULLIF Text: Collation Decides Whether Values Match

March 12, 2009
Pinal Dave
SQL Tips and Tricks
SQL Collation, SQL Function, SQL Server

NULLIF text comparisons can remove a matching value. Select the matching rule explicitly and preserve the first expression’s return contract.

Read More
Previous 1 2 3 4 5 6 7 Next
  • Books
  • Testimonials
  • Privacy Policy

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