=== Message Use "SCOPE_IDENTITY()" to be sure you're accessing the last id you created on the connection.