Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.server -> Interesting way to crash Oracle

Interesting way to crash Oracle

From: Tom Cooke <tom_at_tomcooke.demon.co.uk>
Date: Sat, 2 May 1998 17:34:50 +0100
Message-ID: <Mlb0BBAqs0S1Ew$c@tomcooke.demon.co.uk>


Try creating a table with a numeric field, and a sequence, and then creating a database trigger which attempts to assign a unique number from the sequence to the numeric field on _delete_ of a row. Yes, I know it makes no sense whatsoever, but if you check the wrong boxes in Designer/2000 when defining your logic, you really can get SQL from the generator that creates a trigger that tries to do this. On 7.3.3 on SCO OpenServer, you get a pretty core dump when you actually try and delete rows from the table.

Enjoy!
--
Tom Cooke Received on Sat May 02 1998 - 11:34:50 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US