On 1 July 2010 13:05, Andrew Wood <[email protected]> wrote: > I apologise if this is in the documentation but I cant seem to follow it. > > Is there a function in the C/C++ API which will escape an array of > binary data. For example in MySQL there is the following function: > > mysql_real_escape_string(&conn,out,in,length); > > What Id like to do is take a char array in C, escpape it and drop it > into a plain text SQL string which could then be passed to > sqlite3_get_table()
See %q option in http://www.sqlite.org/c3ref/mprintf.html > > Thanks > Andrew > Regards, Simon _______________________________________________ sqlite-users mailing list [email protected] http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users

