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 -> How to say one of a group of columns is required?

How to say one of a group of columns is required?

From: Andy Hardy <aph_at_ahardy.demon.co.uk>
Date: 2000/05/18
Message-ID: <N32hvOAGJGJ5EwXR@ahardy.demon.co.uk>#1/1

Hi,

I have a table with three columns - one or more of which is required.

E.G.

MY_KEY
MY_LOOKUP1
MY_LOOKUP2
MY_LOOKUP3

where at least one of the MY_LOOKUPs is required.

Is there a check constraint for this?

I'm using Designer/2000 rel 2.1.1 onto an Oracle 7.3.4 database (later moving to 8.1.6 database).

Andy

-- 
Andy Hardy. PGP ID: 0xA62A4849
===============================================================
Received on Thu May 18 2000 - 00:00:00 CDT

Original text of this message

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