Home  >  Article  >  Database  >  insert一句话实现插入一条数据并且返回这条数据的某列

insert一句话实现插入一条数据并且返回这条数据的某列

WBOY
WBOYOriginal
2016-06-07 17:37:432057browse

insert into [table] output inserted.columnName values();

insert into [table] output inserted.columnName values();

Statement:
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