Home > Database > Mysql Tutorial > 保存数据同时查询保存数据记录的ID

保存数据同时查询保存数据记录的ID

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
Release: 2016-06-07 16:03:42
Original
1392 people have browsed it

保存数据时同时取出该数据的记录ID insert into Table(a,b) values(1,2) select @@identity

保存数据时同时取出该数据的记录ID

insert into Table(a,b) values(1,2) select @@identity

Related labels:
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template