When a temp table is declared with not logging, the dml will not be logged in the transaction logs. However, the creation and dropping of the temp table will. This sound like the declare clause begins a transaction. My question is will a commit end the transaction or does it have to be a drop table statement? I know ending the connection or application will also end the transaction and drop the temp table.
Thanks