In a web-based app. designed using Bluestone's Sapphire/Web (Yes, I know...) I enter a new row to a table with its key automatically inserted via the identity_insert option in SQL Server. Immediately after this row is inserted, I need to know what value was just inserted (I don't feel that just taking the largest value in the table is safe enough). Is there a way to return the value inserted when identity_insert is used?<br><br>Thanks in advance, <br>Brett