This follow 3 commands,I wanna merge to c++,but don't know how to do:

sqlite3 my.db " select '<table>' " > my.html
sqlite3 -html -header my.db " select * from BOD " >> my.html
sqlite3 my.db " select '</table>' " >> my.html

is this follow right?
char bbb[300];
strcpy(bbb,"BEGIN\n " select '<table>' " > my.html\n  \
-html -header " select * from BOD " >> my.html\n  \
" select '</table>' " >> my.html\n  \
COMMIT;

_______________________________________________
sqlite-users mailing list
sqlite-users@sqlite.org
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users

Reply via email to