Help for this page

Select Code to Download


  1. or download this
    SELECT SCOPE_IDENTITY();
    
  2. or download this
    SELECT CAST(scope_identity() AS int)