refering to a column by a variable
From: Jan Timmermans <jtimmerm_at_alpha>
Date: 1995/12/06
Message-ID: <4a47et$jnv_at_vivaldi.belnet.be>#1/1
Date: 1995/12/06
Message-ID: <4a47et$jnv_at_vivaldi.belnet.be>#1/1
Hi,
I'm writing a program PRO*C.
In my database it is possible someone appends new columns to a table.
What if my program does not know the name of the available columns and
the column i want to address until runtime?
Is There a way to have a bind put the name in a variable and use this
variable in a CURSOR to refer to the column?
I hope you can help me, Thanks
ps. I don't know how many columns there will be.
-- +---------------------------------+---------------------------------------+Received on Wed Dec 06 1995 - 00:00:00 CET
| Jan Timmermans | e-mail: jtimmerm_at_alpha.luc.ac.be |
| Labo Toegepaste Informatica | tel : +032 011/268297 |
| Limburgse Universitaire Campus | |
| Belgium | |
+---------------------------------+---------------------------------------+