How to retrieve the Identity/auto_increment fireld after an insert in MYSQL
I have a table in MYSQL 5.0 with an auto_increment key. I can insert records into the table with no problems, but how do I know what the generated key is?Thanks for any help,Keith
[200 byte] By [
sitara] at [2007-11-26 7:45:52]

# 1
Hi,Can you be more precise? After inserting a records into the database the auto_increment field will be filled in automatically by mysql.When you run a SELECT * FROM <tablename> it will show up. If it shows up as 0 you forgot to refresh the dataprovider.
bami at 2007-7-6 19:58:15 >
