Re: [GENERAL] check for primary key

2009-11-09 Thread Thom Brown
2009/11/9 Tom Brown : > Hey guys! > > I would like to know how to query for the existence of a primary key on > a table. All of the tables have the column 'id' in them. That should be > the primary key. However, the primary key constraint got "lost" somehow. > Probably due to stupidity on my part.

[GENERAL] check for primary key

2009-11-09 Thread Tom Brown
Hey guys! I would like to know how to query for the existence of a primary key on a table. All of the tables have the column 'id' in them. That should be the primary key. However, the primary key constraint got "lost" somehow. Probably due to stupidity on my part. I just want to add back the prim