On Fri, Feb 5, 2010 at 1:28 PM, Vasanta <[email protected]> wrote:
> command "SELECT rowid from table-name;"  gives all rows from 1 to 100 for
> total 100 rows, any command to get last rowid?. I need insert from last
> rowid onwards (if table already 100 records, need to insert from 101
> onwards)

Did you read the docs?
http://www.sqlite.org/lang_corefunc.html#last_insert_rowid


Did you search for help with SQL commands?
http://www.google.com/search?q=sql+tutorial


-- 
Puneet Kishor http://www.punkish.org
Carbon Model http://carbonmodel.org
Charter Member, Open Source Geospatial Foundation http://www.osgeo.org
Science Commons Fellow, http://sciencecommons.org/about/whoweare/kishor
Nelson Institute, UW-Madison http://www.nelson.wisc.edu
-----------------------------------------------------------------------
Assertions are politics; backing up assertions with evidence is science
=======================================================================
Sent from Madison, Wisconsin, United States
_______________________________________________
sqlite-users mailing list
[email protected]
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users

Reply via email to