Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.misc -> Re: Beginner Validation
Hi Richard:
ALTER TABLE mytable
ADD CONSTRAINT mytable_uk
UNIQUE (snum);
Please check with your manuals or online help.
Regards
Mabel
Richard Fairbairn <r.fairbairn_at_zetnet.co.uk> wrote in article
<1998021716040976740_at_zetnet.co.uk>...
> Can someone help me with this problem?
>
> I have a table which has a primary key 4 digit column (snum). Each
> value in this column must be unique.
>
> In Forms 4.5 I'm trying to write a procedure to check that a new snum
> is unique (I.e., has not already been used.)
>
> Can anyone give me some ideas?
>
> I'm very new to this.
>
> Best regards
>
> R.W. Fairbairn
>
>
Received on Tue Feb 17 1998 - 00:00:00 CST
![]() |
![]() |