如何在 Sybase 中插入一条新记录后立即检索主键?

How to retrieve the Primary key right after inserting a new record in Sybase?

在Sybase中,插入一条记录后如何获取主键? 预先感谢您的帮助。

我假设您在谈论标识列。

此处的文档:Retrieving IDENTITY column values with @@identity