Forum Replies Created

Viewing 2 posts - 1 through 2 (of 2 total)

  • RE: Exclusive row locks

    The table hints XLOCK is a solution

    see book online for more info.

  • RE: Get new PK back from SP

    use system variable @@IDENTITY

    Returns the last-inserted identity value.

    Return Types

    numeric

    After an INSERT, SELECT INTO, or bulk copy statement completes, @@IDENTITY contains the last identity value generated by the statement....

Viewing 2 posts - 1 through 2 (of 2 total)