#2
DreamSkyCC2010-12-05 17:51
|
char *sql="CREATE TABLE PhoneNote(ID integer primary key autoincrement);
sqlite3_exec(phone_db,sql,NULL,NULL,&errmsg);
sql="INSERT INTO PhoneNote values(NULL)";//这一句用mprintf怎么赋值?
sqlite3_exec(phone_db,sql,NULL,NULL,&errmsg);