插入时返回插入行的某字段值

2024-12-02 10:43:36
推荐回答(1个)
回答1:

假设你当前表的key(feed)字段是 XXX
insert into abc (uptime,downtime) values (0,0);Select answerid,upname where XXX=@@IDENTITY