On 26 Nov 2009, at 5:54am, Edward Diener wrote:

> I have a table with an integer primary key as the first type. My 
> understanding is that this is an alias for the rowid. When I insert a 
> row in this table using _sqlite3_prepare and then sqlite3_step I need to 
> retrieve the rowid for the row I have just inserted. Is there an SQL 
> statement I can use, or a way, to do that ?

http://www.sqlite.org/c3ref/last_insert_rowid.html

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

Reply via email to