TSQL CTE w transakcji

BEGIN TRANSACTION

;WITH CTE .....
SELECT.....etc.

COMMIT TRANSACTION
Mister_H