Retrieve inserted row ID in SQL EmpTable: Column | Type --------|-------------------------------- ID | * Auto-incrementing primary key EmpName | Age | Query Sample: insert into Emp (Emp Name , Age ) values ( 'John' , 22 ) SELECT SCOPE_IDENTITY ();