| Oracle FAQ | Your Portal to the Oracle Knowledge Grid | |
Home -> Community -> Usenet -> c.d.o.misc -> found an excellent delete statement
Here is something amazing;
We have found the following statement in a application on our Oracle-Box:
Enjoy and better sit down before reading:
delete from "xxx"."xxxx" where "CLRACI" = '2100080' and "CLETAT" = 'A'
and
"CLDTOU" = TO_DATE('07-NOV-1994 00:00:00', 'DD-MON-YYYY HH24:MI:SS')
and
"CLDTMU" = TO_DATE('30-JUN-2000 00:00:00', 'DD-MON-YYYY HH24:MI:SS')
and
"CLDTAN" = TO_DATE('30-JUN-2000 00:00:00', 'DD-MON-YYYY HH24:MI:SS')
and "CLNBRM" = 3
and "CLOPRN" = '0011385' and "CLGRPE" = '0000000' and "CLAGNT" =
'0060310'
and "CLCENT" = '0000001' and "CLGERA" = '0011020' and "CLETCV" IS NULL
and "CLNOM" = 'xxxxxxx **F01**' and "CLPRNM" IS NULL
and "CLORIG" = 'RUBRIK ""5690""' and "CLTYPE" = 'P'
and "CLNOMC" = 'xxxxxxx R**F01**' and "CLDTNA" = TO_DATE('10-FEB-1993
00:00:00', 'DD-MON-YYYY HH24:MI:SS')
**F01*' and "CLAD03" IS NULL
and "CLAD04" IS NULL and "CLAD05" IS NULL and "CLAD06" IS NULL and "CLDOMI" = '001' and "CLREGI" = '009' and "CLNATI" = '001' and "CLACTI" = '990' and "CLSECT" = '001' and "CLRGMA" = '020' and "CLSYMP" = '000' and "CLMONE" = '001' and "CLMONP" = '001' and "CLTLPH" IS NULL and "CLTLEX" IS NULL and "CLTLFX" IS NULL and "CLSWFT" IS NULL and "CLSIC" IS NULL and
"2100'
and "CLDR10" = '001190' and "CLDS11" IS NULL and "CLDR11" = 'xxxxxx' and "CLDS12" = 'xxxxxx' and "CLDR12" IS NULL and "CLDS13" = 'P' and "CLDR13" = 'xxxxxx' and
and "CLDR14" = '160319' and "CLDS15" = '000' and "CLDR15" = '1,"' and
and "CLDORM" = '2' and "CLDSPM" = '110' and "CLFI03" = '016' and
And the best comes at the end; delete rowid ... Received on Thu Nov 15 2001 - 04:57:09 CST
![]() |
![]() |