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

Home -> Community -> Usenet -> c.d.o.misc -> Re: SQL *Plus 8.0 - deleting foreign key

Re: SQL *Plus 8.0 - deleting foreign key

From: Thomas Kyte <tkyte_at_us.oracle.com>
Date: Mon, 03 Jan 2000 06:05:08 -0500
Message-ID: <mh017ssju1b1l8ojlpdvjo1ljbhds9oog5@4ax.com>


A copy of this was sent to gekko_at_newsguy.com (if that email address didn't require changing) On Mon, 03 Jan 2000 02:55:36 GMT, you wrote:

>I am trying make sure that upon deletion, the datatype is set to null.
>What is the proper syntax in SQL*Plus 8.0 for this?
>Here is what I tried:
>
>13 FOREIGN KEY (REP)
>14 REFERENCES SALESREPS
>15 ON DELETE SET NULL
>
>I got this:
>ERROR at line 15:
>ORA-03001: unimplemented feature
>
>Thanks,
>bobdobbs
>
>
>

On delete set null is a new feature of Oracle8i, release 8.1 and is not available in prior releases.

Prior to that, you would have to do the set null programatically.

--
See http://osi.oracle.com/~tkyte/ for my columns 'Digging-in to Oracle8i'... Current article is "Part I of V, Autonomous Transactions" updated June 21'st  

Thomas Kyte                   tkyte_at_us.oracle.com
Oracle Service Industries     Reston, VA   USA

Opinions are mine and do not necessarily reflect those of Oracle Corporation Received on Mon Jan 03 2000 - 05:05:08 CST

Original text of this message

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