SQLite UNICODE() Function
Definition and Usage
The UNICODE() function returns the Unicode code point of the first character in a text.
Tip: Also look at CHAR().
Syntax
UNICODE(text)
Parameter Values
| Parameter | Description |
|---|---|
| text | Required. The text |
Technical Details
| Return type: | Integer |
|---|
More Examples
Example
Return the code point of the first letter in each customer name:
SELECT CustomerName, UNICODE(CustomerName)
FROM Customers;
Try it Yourself »