From 1a3623cb91f92bfaf165d8f1cdb4147796af5cf3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kjartan=20=C3=93lason?= <5832718+kjarrio@users.noreply.github.com> Date: Sat, 11 Nov 2023 12:26:39 -0300 Subject: [PATCH] Update SQL-batch.md - invalid statement --- src/sql/SQL-batch.md | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/sql/SQL-batch.md b/src/sql/SQL-batch.md index 35cc1f94..d08fcdbd 100644 --- a/src/sql/SQL-batch.md +++ b/src/sql/SQL-batch.md @@ -82,9 +82,7 @@ if(){ In current release it's mandatory to have `IF(){`, `` and `}` on separate lines, eg. the following is not a valid script ```sql -if($a.size() > 0) { - ROLLBACK; -} +if($a.size() > 0) { ROLLBACK; } ``` The right syntax is following: ```sql