Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.misc -> Help on PL/SQL

Help on PL/SQL

From: Biao Cheng <bcheng_at_cs.buffalo.edu>
Date: 1997/03/21
Message-ID: <5gsosd$htu@prometheus.acsu.buffalo.edu>#1/1

Hi,

I have a question to ask:

I need to create a stored procedure which contains a string type parameter, say

    CREATE OR REPLACE proc_1(fieldname CHAR)     ....

Now, suppose the actual parameter I am passing is a field name in a table, my question is How I am able to run a SQL statement, something like this:

    SELECT "fieldname" from table1;

Is there any way to do this? Any input is highly appreciated.

Thanks.

BC Received on Fri Mar 21 1997 - 00:00:00 CST

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US