Re: PHP & PostgreSQL
| From: | The Hermit Hacker | Date: | Sun, 04 Mar 2001 16:44:16 +0000 |
| Subject: | Re: PHP & PostgreSQL | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-42508@lists.php.net to get a copy of this message | ||
On Sun, 4 Mar 2001, Marcelo Pereira wrote:
> Hi, All.
>
> I have to build a web site and I was
> studying postgreSQL, but, whether I am
> quite wrong or this database does not
> support Foreign Key.
>
> Does anyone use postgreSQL and know
> how handle Foreign Keys ???
Yes, it supports Foreign Keys ... how to use them is another story, as its
something I keep meaning to dive into and just never seem to find the time
for :(
Check out:
http://postgresql.readysetnet.com/users-lounge/docs/7.0/user/sql-createtable.htm
which talks about using CONSTAINTS on tables, where 'REFERENCES' is
discussed ...