how to get last insert record id

  • hi....

    I have a table primary key column with autoincrement..

    i have inserted somerecords and deleted all.How to find the

    last insertid record value .

    Thanks
    Dastagiri.D

  • SELECT IDENT_CURRENT('MYTABLE')

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

You must be logged in to reply to this topic. Login to reply