S_Madanska

@XACT_ABORT

Nov 14th, 2021 (edited)
145
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
T-SQL 0.13 KB | None
  1. DECLARE @XACT_ABORT VARCHAR(3) = 'OFF';
  2. IF ( (16384 & @@OPTIONS) = 16384 ) SET @XACT_ABORT = 'ON';
  3. SELECT @XACT_ABORT AS XACT_ABORT;
RAW Paste Data Copied