Justin Burger wrote:
Good Afternoon, In Oracle there is a keyword called RETURNING, where
I can do an insert and specify what row to return, this helps with
autoincrement fields;
How can I achieve this in MySQL?
If you only want to know the value of the last inserted autoinc field,
use LAST_INSERT_ID:
http://dev.mysql.com/doc/mysql/en/information-functions.html
Thanks a bunch!!
-- Justin W. Burger
HTH,
Wolfram
--
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe: http://lists.mysql.com/[EMAIL PROTECTED]