GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | ||||
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | ||||
GeezerVison is showing sqlite.org — The UINT Collating Sequence
The UINT Collating Sequence
1. OverviewThe UINT collating sequence is a loadable extension for SQLite that implements a new collating sequence that compares text containing unsigned integers in numeric order. The UINT collating sequence is not a standard part of SQLite. It must be loaded as a separate extension. The source code to UINT is in the uint.c source file in the ext/misc/ folder of the SQLite source tree. The UINT collating sequence is not included in standard builds of the SQLite library, but it is loaded by default in the CLI. This is typical of the CLI which loads various extensions above and beyond what are available in the standard SQLite library. The UINT collating sequence works just like the default BINARY collating sequence for text, except that embedded strings of digits compare in numeric order.
2. Example:
| ||||
| You are visitor 01402503 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |