Re: REFERENCES troubles

From: Jesus Aneiros <aneiros(at)jagua(dot)cfg(dot)sld(dot)cu>
To: planx plnetx <planetx2100(at)hotmail(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: REFERENCES troubles
Date: 2000-07-05 11:03:08
Message-ID: Pine.LNX.4.10.10007050701350.28231-100000@jagua.cfg.sld.cu
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Delete the , after KEY and give owner a datatype and everything works
fine. I have tested.

Jesus.

On Wed, 5 Jul 2000, planx plnetx wrote:

> > > CREATE TABLE workers(
> > > name varchar(30),
> > > firstname varchar(30),
> > > id_personal decimal(10)NOT NULL UNIQUE PRIMARY KEY,
> > > );
> > >
> > > CREATE TABLE payements(
> > > date_of date,
> > > owner REFERENCES workers(id_personal)
> > > );

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Morten W. Petersen 2000-07-05 11:25:27 How to lock a table
Previous Message Joseph 2000-07-05 10:24:17 RE: ODBC and Connection staying open