Hi all,
I have the serveral sql statement in the one file call : getData.sql and
I want to use the sqlite API to call this file to execute all sql statements in
this file at once.
Can you tell me what API I should use.
I had the code to execute the statment but I don't know how to call the file.
Below is my code to execute the single statement.
sqlSt = sqlite3_open( name, &pDb);
strcpy(&stmt[0], "Select * from my table");
sqlSt = sqlite3_exec(pDb, sqlStmt, NULL, 0, &errMsg) ;
....
Thanks,
JL
____________________________________________________________________________________
Be a better friend, newshound, and
know-it-all with Yahoo! Mobile. Try it now.
http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ
_______________________________________________
sqlite-users mailing list
[email protected]
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users