Sqlite char, ascii function
I suppose if you really wanted to, you could create an ASCII Table with a column ASCIICHARand a column ASCIICODEand populate it with an ASCII table. Then your queries can be executed in queries / subqueries:
SELECT ASCIICHAR FROM ASCIITABLE WHERE ASCIICODE = 97;
True, although Richard J. Ross III comments on the money - if you use SQLite, you probably get access to it through your calling code, could the calculations be done?
sqlite3 ascii() char(), C , sqlite3 (, python).
http://www.sqlite.org/c3ref/create_function.html
https://docs.python.org/2/library/sqlite3.html
You can implement your own version of ascii based on the sqlite extension library located on this site: http://sqlite.1065341.n5.nabble.com/Extension-functions-for-SQLite-in-C-for-free-td18942 .html
I modified this code to add features, not yours. It should be pretty simple.