Re: [GENERAL] constraints in table

2008-01-23 Thread Gregory Williamson
Dominique Bessette - Halsema asked: > > Hello, > > How do i find the constraints on a table in SQL? my database is linux > based, and I cant seem to find the command. Thanks > >From the psql prompt, \d works for me: billing=# \d work.clients Table "work.clients"

Re: [GENERAL] constraints in table

2008-01-23 Thread Leif B. Kristensen
On Thursday 24. January 2008, Dominique Bessette - Halsema wrote: >Hello, > >How do i find the constraints on a table in SQL? my database is linux >based, and I cant seem to find the command. Thanks You should really read the psql documentation: http://www.postgresql.org/docs/8.2/static/app-psql

Re: [GENERAL] constraints in table

2008-01-23 Thread Raymond O'Donnell
On 24/01/2008 00:09, Dominique Bessette - Halsema wrote: How do i find the constraints on a table in SQL? my database is linux based, and I cant seem to find the command. Thanks In psql, \d will show the constraints. Ray. ---