sqlite insert id
#1

i am looking for the sqlite counterpart of https://sampwiki.blast.hk/wiki/MySQL#mysql_insert_id is there anything like that available?
Reply
#2

explain more dude , really i dident get what you need
Reply
#3

last_insert_rowid() or SELECT MAX(ID) FROM TABLE
then get field and add + 1
Reply
#4

Quote:
Originally Posted by MCZOFT
View Post
explain more dude , really i dident get what you need
have you even read the wiki article? explains everything
Quote:
Originally Posted by Jefff
View Post
last_insert_rowid()
the function is not defined, neither in a_sampdb.inc nor in any other includes
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)