[YAN HONG YE] > sqlite3_exec( db, "???", 0, 0, &pErrMsg); > > I wanna add this following command into sqlite3_exec func: > "sqlite3 -html -header mydzh.db \"select * from dhq where ph15>10;\" >mm.html" > like this: > sqlite3_exec( db, "-html -header \"select * from dhq where ph15>10;\" > >mm.html", 0, 0, &pErrMsg); > > but it doesn't work
sqlite3_exec() runs SQL statements, not shell commands. -- Steinar _______________________________________________ sqlite-users mailing list sqlite-users@sqlite.org http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users