If I execute some SQL by putting it after 'sqlite3' on the command
line as follows:-

    sqlite3 mydata.db "SELECT * from mytable"

Does the return value contain anything that will tell me if the SQL
worked or not?

If it doesn't then what's the easiest way for a script to tell if some
SQL executed by sqlite3 worked or not?  I just want to do a single row
insert into a table and, if it succeeds, the source of the inserted
data can be removed.

-- 
Chris Green
ยท

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

Reply via email to