MYSQL Identity fields

admin

Administrator
Staff member
Hey guys,


How Do I get MYSQL to return the identity of the last row I inserted?

for instance in M$ SQl Server you can do Insert int table(fields) Values(Values)
Select @@identity as cnt from table

How do you do that in MySQL???
 
Back
Top