SQLite hex() function
Description
The hex() function interprets its argument as a BLOB and returns a string which is the upper-case hexadecimal rendering of the content of that blob.
Syntax:
hex(X)
Arguments
Name | Description |
---|---|
N | Integers whose character values (according to the ASCII table) are to be retrieved. |
Example: SQLite hex() function
The following SQLite statement returns character values (according to the ASCII table) of the integers 67, 72, 65 and 82.
SELECT hex(67);
Sample Output:
hex(67) ---------- 3637
Previous:
instr()
Next:
last_insert_rowid()
- New Content published on w3resource:
- HTML-CSS Practical: Exercises, Practice, Solution
- Java Regular Expression: Exercises, Practice, Solution
- Scala Programming Exercises, Practice, Solution
- Python Itertools exercises
- Python Numpy exercises
- Python GeoPy Package exercises
- Python Pandas exercises
- Python nltk exercises
- Python BeautifulSoup exercises
- Form Template
- Composer - PHP Package Manager
- PHPUnit - PHP Testing
- Laravel - PHP Framework
- Angular - JavaScript Framework
- Vue - JavaScript Framework
- Jest - JavaScript Testing Framework