VistaDB 6
VistaDB / Developer's Guide / SQL Reference / Functions / System Functions / SCOPE_IDENTITY
In This Topic
    SCOPE_IDENTITY
    In This Topic

    Usage

    DECLARE @LastIdentity BIGINT;
    SET @LastIdentity = SCOPE_IDENTITY();
    

    Internally VistaDB maps this function to @@IDENTITY which will return values in scenarios where SCOPE_IDENTITY would not.

    See Also