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 -> Re: table name

Re: table name

From: <mike7411_at_gmail.com>
Date: 2 Aug 2006 11:55:10 -0700
Message-ID: <1154544909.979272.310900@b28g2000cwb.googlegroups.com>


Well, if you run this

create or replace procedure seltest (tablename in varchar2) as
begin
select * from tablename;
commit;
end;

you will see that it does not use the parameter. Any ideas?

G Quesnel wrote:
> A table name is no different than any other character string value.
> You should be able to declare the variable as a varchar2(30).
> You will probably also want to include the schema name as another
> variable.
> If you want more help, please post the Oracle version you intend to
> use.
> For example, your approach using Oracle 10g, could be to use the
> datapump API procedures.
>
> HTH
Received on Wed Aug 02 2006 - 13:55:10 CDT

Original text of this message

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