SQL Programmability & API Development Team Blog

All posts are AS IS, without any further guarantees or warranties.

Browse by Tags

Tagged Content List
  • Blog Post: How are GUIDs compared in SQL Server 2005?

    In general, equality comparisons make a lot of sense with uniqueidentifier values. However, if you find yourself needing general ordering, then you might be looking at the wrong data type and should consider various integer types instead. If, after careful thought, you decide to order on a uniqueidentifier...
  • Blog Post: Sorting undefined characters in Unicode and/or Windows collation

    When comparing two Unicode strings in non-binary collations, SQL Server uses a library that is essentially same as the Windows API CompareStringW. It defines a weight for each recognized character, and then use the weights to compare characters. However, not all code points are defined in the sorting...
Page 1 of 1 (2 items)