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 <tablename> will show the constraints. Ray. --------------------------------------------------------------- Raymond O'Donnell, Director of Music, Galway Cathedral, Ireland rod@xxxxxx --------------------------------------------------------------- ---------------------------(end of broadcast)--------------------------- TIP 9: In versions below 8.0, the planner will ignore your desire to choose an index scan if your joining column's datatypes do not match