plpgsql Question..

From: Rajesh Kumar Mallah <mallah(at)trade-india(dot)com>
To: pgsql-sql(at)postgresql(dot)org
Subject: plpgsql Question..
Date: 2003-04-28 12:12:24
Message-ID: 200304281742.24167.mallah@trade-india.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql

is it possible to access a feild in a RECORD type
variable where the feild name is variable.

eg say r is a record having feild name , email , salary

r.name is 'foo'
r.email is 'bar(at)foo(dot)com'
r.salary is 1000

suppose feild_name iterates via a FOR LOOP
through values (name , email , salary)

is it possible to access that feild in record r
inside the loop ?

Regds
mallah.

--
Rajesh Kumar Mallah,
Project Manager (Development)
Infocom Network Limited, New Delhi
phone: +91(11)6152172 (221) (L) ,9811255597 (M)

Visit http://www.trade-india.com ,
India's Leading B2B eMarketplace.

Responses

Browse pgsql-sql by date

  From Date Subject
Next Message Rod Taylor 2003-04-28 13:00:45 Re: plpgsql Question..
Previous Message lihao 2003-04-28 10:14:29 Re: Pl Pgsql problem