diff options
author | Michele Calgaro <[email protected]> | 2024-09-18 14:21:27 +0900 |
---|---|---|
committer | Michele Calgaro <[email protected]> | 2024-09-18 14:21:27 +0900 |
commit | 8d6255b84d9fb6a585d010119f289baff0794df9 (patch) | |
tree | 5e2a9bb3ea6f85217a9e01cee5634dca5170ca50 /indenters/examples/example.sql | |
parent | 3db895919a4cd36972dd5241f480a68fe0f4eb4d (diff) | |
download | universal-indent-gui-tqt-8d6255b84d9fb6a585d010119f289baff0794df9.tar.gz universal-indent-gui-tqt-8d6255b84d9fb6a585d010119f289baff0794df9.zip |
Added indenter examples
Signed-off-by: Michele Calgaro <[email protected]>
Diffstat (limited to 'indenters/examples/example.sql')
-rwxr-xr-x | indenters/examples/example.sql | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/indenters/examples/example.sql b/indenters/examples/example.sql new file mode 100755 index 0000000..077eeb8 --- /dev/null +++ b/indenters/examples/example.sql @@ -0,0 +1,37 @@ +CREATE PACKAGE BODY b IS + +PROCEDURE proc1 IS +BEGIN +IF 7 <> 5 THEN +FOR rec IN (SELECT * FROM dual + WHERE g = 5) LOOP +NULL; +END LOOP; + END IF; +END; + +PROCEDURE recurse IS + b number:=5; + d456 number:=456; +BEGIN + recurse; + proc1; + a := (a + 1 + +4 + + 5 + + 8); + c := f + 4 + 34; + total := earth +sky; + + --this is comment + + uk:=h; + g:=l; + exception + when no_data then + hello; + END; + + BEGIN + NULL; +END; |