Re: [sqlite] How to use BEGIN & COMMIT in my C program?

2009-01-19 Thread MikeW
Igor Tandetnik  writes:

> 
> "Pramoda M. A" 
> wrote in message
> news:f7846b8f3c78c049b6a1dff861f6c16f031cd...@...
> > How to use BEGIN and COMMIT in my C program?
> 
> They are statements. You exectue them as you would any other statement, 
> like INSERT or UPDATE.
> 
> Igor Tandetnik 

Or more specifically, *SQL* statements.

MikeW



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


Re: [sqlite] How to use BEGIN & COMMIT in my C program?

2009-01-16 Thread Igor Tandetnik
"Pramoda M. A" 
wrote in message
news:f7846b8f3c78c049b6a1dff861f6c16f031cd...@kcinblrexb01.kpit.com
> How to use BEGIN and COMMIT in my C program?

They are statements. You exectue them as you would any other statement, 
like INSERT or UPDATE.

Igor Tandetnik 



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


[sqlite] How to use BEGIN & COMMIT in my C program?

2009-01-16 Thread Pramoda M. A
Hi All,

 

How to use BEGIN and COMMIT in my C program?

 

Main()

{

BEGIN;

Sqlite3_exec(db, - - - -);

COMMIT;

}

Is it valid?

 

 

Pramoda.M.A

KPIT Cummins Infosystems Limited | Bengaluru

 

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