If I have the following SQL:
BEGIN TRANSACTION
SELECT val
FROM myTable
and don't follow it up with a commit, what happens with the TRANSACTION? Does it depend upon the context/scope that it was executed (e.g. in a proc, in mgt studio)?
Is there some place to see if there are transactions open that have not been committed/rolled back in a database?
Thanks,
Chris