date column part of primary key in Oracle

[prev] [thread] [next] [Date index for 2005/02/08]

From: Jim Brandt
Subject: date column part of primary key in Oracle
Date: 20:46 on 08 Feb 2005
Is there something in CDBI that prevents you from having a date 
datatype as part of a primary key? I have a simple table with an 
order_id and an enter_date as the PKs. But when I list the enter_date 
in the Primary section, it comes back empty when I fetch records. All 
other columns have data.

If I put enter_date in Essential, it works. The problem is, if I have 
several records with the same order_id, CDBI spits them all out with 
the same date since they all look the same to CDBI.

Thanks for any insight.

Jim

==========================================
Jim Brandt
Administrative Computing Services
University at Buffalo

date column part of primary key in Oracle
Jim Brandt 20:46 on 08 Feb 2005

Re: date column part of primary key in Oracle
Jim Brandt 20:59 on 08 Feb 2005

RE: date column part of primary key in Oracle
Hartmaier Alexander 14:14 on 10 Feb 2005

Re: date column part of primary key in Oracle
Jim Brandt 15:07 on 10 Feb 2005

Generated at 10:21 on 11 Feb 2005 by mariachi v0.52