Hi,
I am trying to store a value containing NULL character and escape sequences in a char column in SQLite. How can store and retrieve it correclty.
I have the below insert query:
snprintf(SqlStr,size, "INSERT INTO %s (AttrName, AttrEnum, AttrType, AttrValue, eadWrite, Entity_id) VALUES('%s', %d, %d, '%s', %d, %d);", tbl_name, db[i]>attr_name, db[i]->attr_num, db[i]->attr_type, db[i]->attr_value, db[i]->atr_src, entity_id);
attr_value contains "AB34\04FE".
It may contain other escape sequence at any index. How can I handle it using SQLite C library.
Thanks
Manik Sidana