# E121-07: Positioned DELETE statement

onlyif Postgres
statement ok
CREATE TABLE TABLE_E121_07_01_01 ( A INT );
DECLARE CUR_E121_07_01_01 CURSOR FOR SELECT A FROM TABLE_E121_07_01_01;
DELETE FROM ONLY ( TABLE_E121_07_01_01 ) WHERE CURRENT OF CUR_E121_07_01_01

onlyif Postgres
statement ok
CREATE TABLE TABLE_E121_07_01_02 ( A INT );
DECLARE CUR_E121_07_01_02 CURSOR FOR SELECT A FROM TABLE_E121_07_01_02;
DELETE FROM TABLE_E121_07_01_02 WHERE CURRENT OF CUR_E121_07_01_02
