TMyScript and LAST_INSERT_ID
Posted: Wed 21 Dec 2005 14:48
I Have a TMyScript that adds some records and I want to know the last auto ID inserted.
I tried to execute a TMyQuery with SELECT LAST_INSERT_ID() but it returns 0.
any idea?
I tried to execute a TMyQuery with SELECT LAST_INSERT_ID() but it returns 0.
any idea?