insert table(title,describe) values('ddd','rrerer');table 表有个字段 id 是自增类型的,执行完这个insert后mysql 可以用 mysql_insert_id(); 来取得 ...
If I have an INSERT statement, which has a PK (id, autoincrement), is there a way to get the very last id entered while still in the same function? I suppose, since it is autoincrement, that I could ...
There isn't anything specifically to do with perl dbi that will do it. You have to use a DB-specific query to get it. In MySQL, you'd run the query "SELECT LAST_INSERT_ID()" (maybe without the (). I ...
一些您可能无法访问的结果已被隐去。
显示无法访问的结果