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

Home -> Community -> Usenet -> c.d.o.server -> Re: Proceeding table object as procedure argument

Re: Proceeding table object as procedure argument

From: Stjepan Brbot <stjepan.brbot_at_zg.hinet.hr>
Date: Wed, 24 Jul 2002 10:57:53 +0200
Message-ID: <ahlq99$f0lm$1@as201.hinet.hr>


THX, yes dynamic SQL helps in this case but the original question still stays; can I pass the table as an object to PL/SQL procedure for other manipulation?

--

Stjepan Brbot


"Tom Best" <oracle_person_at_yahoo.com> wrote in message
news:ahjh41$9n7$1_at_news.bentley.com...

> Stjepan:
>
> Use dynamic SQL. Create the SQL statement as a string, concatenating
the
> parameters containing the table/column names. Something like this:
>
> sql_statement := 'update ' || p_tablename || ' set ' || p_columnname
|| ' =
> ''' || p_someval || '''';
> execute immediate sql_statement;
Received on Wed Jul 24 2002 - 03:57:53 CDT

Original text of this message

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