Refer to n'th field of a table?

Поиск
Список
Период
Сортировка
От Wei Wang
Тема Refer to n'th field of a table?
Дата
Msg-id 033101c3f6ef$9298f420$726ee880@weiwang
обсуждение исходный текст
Ответы Re: Refer to n'th field of a table?  (Shridhar Daithankar <shridhar@frodo.hserus.net>)
Список pgsql-general
Hi,

Sorry for asking the dynamic command question without thoroughly reading the
documentation first.
Thanks a lot for your reply, Richard. ;-)

Now this may be a naive SQL question:
Is there any way to refer to the nth field of a table? For example, when I
already know the schema of
a table( I know it's first field is integer, second and third are text), but
don't know the field names,
is there any way to simply refer to the field by it's position in the table
rather than it's field name?
Also the same question goes with a record(row)?

Many thanks,

Wei Wang


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

Предыдущее
От: Richard Huxton
Дата:
Сообщение: Re: How do I get query result(select e.g.) from a dynamic command(EXECUTE)?
Следующее
От: Shridhar Daithankar
Дата:
Сообщение: Re: Refer to n'th field of a table?