Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.misc -> Re: Check Constraints
you can do that by making database triggers update and/or insert and put the validation code in these.
"casper44" <dkniveton71_at_msn.com> wrote in message
news:be3be537.0203170526.a793d85_at_posting.google.com...
> How do I check to make sure a attribute of type VARCHAR2 is greater
> than 2 characters? For example if I create a table and the attribute
> is:
>
> organization VARCHAR2(50) NOT NULL,
>
> and I also want it to always be greater than 2 characters.
>
> Thanks.
Received on Mon Mar 18 2002 - 05:17:05 CST
![]() |
![]() |