Hi Jakub, Check this link http://sqlite.org/quickstart.html There is a sample program. compile it and run executable in this form
$./a.out test.db 'create table tbl1(one varchar(10), two smallint)' $./a.out test.db 'insert into tbl1 values('hello!',10)' $./a.out test.db 'select * from tbl1' Thanks, Pavan. On 3/8/07, Jakub Ladman <[EMAIL PROTECTED]> wrote:
Hi (much smarter) friends. I need to start with sqlite (interfaced via C language) very quickly, unfortunately. I have not any experiences with any SQL, only some books. I am searching for some "stupid man's manual to sqlite". I can not found any basic's in documentation section of sqlite.org For example: I do understand this: $ sqlite3 ex1 SQLite version 3.3.10 Enter ".help" for instructions sqlite> create table tbl1(one varchar(10), two smallint); sqlite> insert into tbl1 values('hello!',10); sqlite> insert into tbl1 values('goodbye', 20); sqlite> select * from tbl1; hello!|10 goodbye|20 sqlite> but not this: rc = sqlite3_exec(db, argv[2], callback, 0, &zErrMsg); What format of the command line argument should i write? Thank you for any advice. Jakub Ladman ----------------------------------------------------------------------------- To unsubscribe, send email to [EMAIL PROTECTED] -----------------------------------------------------------------------------
-- '**************************************************************** Always finish stronger than you start *****************************************************************