Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.misc -> Re: changing constraints
"Jayne Heger" <jayne_at_spamwithchips@sphynx.clara.co.uk> wrote in message
news:1006283581.16111.1_at_eurus...
> Hello,
>
> I have created a few tables in SQL*Plus Oracle 8i, in one of my tables I
> have specified a constraint so that only the few words stored in the
> constraint can be input.
> I seem to have done this wrong however, so wish to go back and change it.
> Can this be done - easily?
>
> Thanks
>
> Jayne
alter table <table_name> drop constraint <constraint_name>; alter table <table_name> add constraint <constraint_name>...
2 commands
Hth
-- Sybrand Bakker Senior Oracle DBA to reply remove '-verwijderdit' from my e-mail addressReceived on Tue Nov 20 2001 - 14:26:34 CST