refer a column as a varible name?

Поиск
Список
Период
Сортировка
От gherzig@fmed.uba.ar
Тема refer a column as a varible name?
Дата
Msg-id 56093.157.92.152.53.1126538482.squirrel@webmail.fmed.uba.ar
обсуждение исходный текст
Ответы Re: refer a column as a varible name?  (Michael Fuhr <mike@fuhr.org>)
Список pgsql-sql
Hi all. I have troubles trying to achieve this assignment:
suppose the

type mycolumn as (field1, varchar, field2 varchar)
and

field_name = ''field1''

and returnValue declared as mycolumn
...
can i say returnValue.$field_name = ''ok''?
There is a way to achieve this piece of code?

Thanks  a lot!

-- 
Gerardo Herzig
Direccion General de Organizacion y Sistemas
Facultad de Medicina
U.B.A.


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Please help, can't figure out what's wrong with this function...
Следующее
От: "Leif B. Kristensen"
Дата:
Сообщение: Re: Need help with 'unique parents' constraint