..
sqlite3 c语言库
sqlite3_mprintf
char *zText = "It's a happy day!";
char *zsql = sqlite3_mprintf("INSERT INTO table VALUES('%q')",zText);
sqlite3_free(zsql);%q %Q区别还要确认