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
Database data storage comparison.

SQL SERVER – Storing Data in Hindi, Chinese, Gujarati and Tamil (or any other) Language in the Same Table

February 25, 2015
Pinal Dave
SQL Tips and Tricks
SQL Collation

Getting ??? after storing data in Hindi, Tamil or Gujarati? Here are the basic rules to follow to keep many languages in the same table.

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
Heavy snow boots on a hot sandy beach beside a pair of red sandals

MySQL Habits That Trip Up Developers Moving to SQL Server

April 25, 2014
Pinal Dave
SQL Tips and Tricks
MySQL, SQL Collation, SQL Migration, SQL Server

Replace six MySQL habits with SQL Server equivalents for LIMIT, AUTO_INCREMENT, quoting, GROUP BY, duplicate inserts, and collations.

Read More
A compact strap roll beside the same strap extended across the floor

Storing Hash Values: binary(32) or a 64-Character Hex String

February 12, 2014
Pinal Dave
SQL Tips and Tricks
SQL Collation, SQL Data Storage, SQL Datatype

A hex string is just a printed hash, and it costs twice the space. Here is the round trip, the index sizes and the traps.

Read More
A hand trying to close a zip whose two sides do not match, the red pull stuck.

Fixing Collation Conflicts Between tempdb and Your Database

June 15, 2013
Pinal Dave
SQL Tips and Tricks
SQL Collation, SQL Error Messages, SQL Server, SQL TempDB

Fix tempdb collation conflicts with DATABASE_DEFAULT, compare a join-level COLLATE, and inspect contained-database behavior.

Read More
Gouache painting of two trays of buttons, one mixed together and one sorted by size, with one large red button

Effect of Collation on Result Sets in SQL Server

September 19, 2012
Pinal Dave
SQL Tips and Tricks
SQL Collation, SQL Group By, SQL Order By, SQL Scripts

The effect of collation on result sets is easy to see once you run the same query against two collations. This post builds a small demo and shows how sorting, comparing and grouping change. It also explains collation conflicts, including the one temp tables cause.

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

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