S_Madanska

@XACT_ABORT

Nov 14th, 2021 (edited)
292
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
T-SQL 0.13 KB | None | 0 0
  1. DECLARE @XACT_ABORT VARCHAR(3) = 'OFF';
  2. IF ( (16384 & @@OPTIONS) = 16384 ) SET @XACT_ABORT = 'ON';
  3. SELECT @XACT_ABORT AS XACT_ABORT;
Add Comment
Please, Sign In to add comment