I have a query which goes something like
select * from FINAL TABLE (insert into table A values (default,b,c))
Basically i want to select the inserted query (the table A has some autogenerated identity columns which i need to select)
Taking into consideration concurrent users in the system, i needed to know
1. Will this query run fine in a concurrent user scenario
2. If Step 1 is true, does the query obtain a table level lock or a row level lock on table A.