记录|mysql insert into 返回主键值
mysql_query运行insertinto默认不返回数据的INSERTINTOtable_name(column1,column2)VALUES(value1,value2);select@@IDENTITYasid;只需在后面加一句select@@IDENTITYasid;
关于 insert 的文章共有1条
阅读(8263)评论(0)
mysql_query运行insertinto默认不返回数据的INSERTINTOtable_name(column1,column2)VALUES(value1,value2);select@@IDENTITYasid;只需在后面加一句select@@IDENTITYasid;