mirror of
https://github.com/KevinMidboe/linguist.git
synced 2025-12-08 20:38:47 +00:00
update of old PL/SQL PLpgSQL and SQLPL patch based on current version
see [linguist] add support for oracle PLSQL (#1003)
This commit is contained in:
13
samples/SQLPL/drop_table.db2
Normal file
13
samples/SQLPL/drop_table.db2
Normal file
@@ -0,0 +1,13 @@
|
||||
DROP TABLE TDEPT;
|
||||
CREATE TABLE TDEPT (DEPTNO CHAR(4));
|
||||
|
||||
--#SET TERMINATOR @
|
||||
BEGIN ATOMIC
|
||||
DECLARE COUNT INT DEFAULT 5;
|
||||
|
||||
WHILE COUNT > 0 DO
|
||||
INSERT INTO TDEPT VALUES 'F'||
|
||||
RTRIM(CHAR(COUNT));
|
||||
SET COUNT = COUNT - 1;
|
||||
END WHILE;
|
||||
END@
|
||||
Reference in New Issue
Block a user