How to retrieve last autoincremented value in MS-Access like @@Identity in SqlServer

How to retrieve last autoincremented value in MS-Access like @@Identity in SqlServer,第1张

How to retrieve last autoincremented value in MS-Access like @@Identity in SqlServer

但是,Microsoft Access 2000或更高版本确实支持@@ IDENTITY属性,
以在插入后检索自动编号字段的值。

来源:检索标识或自动编号

编辑:正如@ David-W-Fenton所指出的,您还需要使用Jet 4.0 OLE DB Provider(在先前的文档中也对此进行了描述)



欢迎分享,转载请注明来源:内存溢出

原文地址: https://outofmemory.cn/zaji/5011215.html

(0)
打赏 微信扫一扫 微信扫一扫 支付宝扫一扫 支付宝扫一扫
上一篇 2022-11-14
下一篇 2022-11-14

发表评论

登录后才能评论

评论列表(0条)

保存