Re: A Table's Primary Key Listing

Поиск
Список
Период
Сортировка
От Michael Fuhr
Тема Re: A Table's Primary Key Listing
Дата
Msg-id 20050818150546.GA97974@winnie.fuhr.org
обсуждение исходный текст
Ответ на A Table's Primary Key Listing  (Roger Tannous <roger77_lb@yahoo.com>)
Список pgsql-sql
On Thu, Aug 18, 2005 at 07:36:22AM -0700, Roger Tannous wrote:
> Is there any means to get a list of the Primary Keys (or simply the
> Primary Key if there's only one :) ) for a given table using an SQL query?

Are you looking for the primary key definition or do you want the
primary key values themselves?  It's not clear what problem you're
trying to solve if "SELECT columnname FROM tablename" isn't the answer.

-- 
Michael Fuhr


В списке pgsql-sql по дате отправления:

Предыдущее
От: Roger Tannous
Дата:
Сообщение: A Table's Primary Key Listing
Следующее
От: daq
Дата:
Сообщение: Re: A Table's Primary Key Listing