abiramip wrote:
In the command prompt if i give the following,
select OID from tablename;
am able to get the corresponding OID...
Is it possible to do the same by using APIs?If so which API can i use inorder 
to retreive OID  from a table.
Can i use sqlite3_get_table() or sqlite3_prepare() APIs    ?
Or is there any other way to do this ?

Yes, you can use either the sqlite3_get_table or sqlite3_prepare/sqlite3_step/sqlite3_column_* APIs to get the results of your select query. You could also use the sqlite3_exec API. You will probably be better of using the prepared statement API routines rather than the older API's (sqlite3_get_table and sqlite3_exec) which are intended primarily for backwards compatibility.

HTH
Dennis Cote

-----------------------------------------------------------------------------
To unsubscribe, send email to [EMAIL PROTECTED]
-----------------------------------------------------------------------------

Reply via email to