Dear SQLite list, A few of the built-in SQL functions of SQLite has a result that depends on the collation sequence of the arguments, and compare text values using these collation functions. These functions are "min" and "max" (both aggregate and scalar versions) and "nullif".
Is there a way to define new SQL functions that behave in such a way? I haven't seen any way in the public C api that would let a function determine what collation sequence is used for its arguments. Plus, even if I could find out the collation used, Thanks, -- Ambrus