You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 4ed6e5f
Browse filesBrowse the repository at this point in the historyBrowse files
// MS SQL variables only live within one batch, unlike in SSMS which only splits on GO
3491
+
if Thread.Connection.Parameters.IsAnyMSSQL
3492
+
and (not Thread.BatchInOneGo)
3493
+
and (Thread.Batch.Count > 1)
3494
+
and ExecRegExprI('Must declare the (table|scalar) variable', Thread.ErrorMessage) then begin
3495
+
ErrorHint := sLineBreak + sLineBreak +
3496
+
f_('Variables in MS SQL only exist within the batch they are declared in. Your queries were sent one by one. Activate "%s" in the drop-down menu of the Run button to send them as one batch.', [actBatchInOneGo.Caption]);
0 commit comments