2018_Mar_Types_04

SQL: Number versus Character sorting

SQL: Number versus Character sorting

Table illustrating how numbers are sorted differently to character strings. The unexpected consequences of this are one of the reasons storing numbers as character strings is considered an SQL smell.

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.