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 -> Row based keys or composite key

Row based keys or composite key

From: Nandakumar <N.Kumar_at_rocketmail.com>
Date: Fri, 29 Oct 1999 18:05:26 GMT
Message-ID: <7vcnl3$3sp$1@nnrp1.deja.com>


hi

few question regarding row based keys ( user-generated or system generated).

  1. if we define a composite primary key with several fields, can these fields allow null values in them?
  2. Is there a simple way to generate a UNIQUE number for each distinct row? ( say if there are three fields f1,f2,f3 in a table, rows are distinct if f1||f2||f3 are different in each row) i would like to get a unique number corr. to each distinct row, like row1 num1 row2 num2 row3 num3 where num1 != num2 != num3

Thanks in advance for your suggestions. --
Nandakumar

Sent via Deja.com http://www.deja.com/
Before you buy. Received on Fri Oct 29 1999 - 13:05:26 CDT

Original text of this message

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