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: Some questions Oracle (SQL)

Re: Some questions Oracle (SQL)

From: <michael_bialik_at_my-deja.com>
Date: 2000/04/12
Message-ID: <8d2n2r$df6$1@nnrp1.deja.com>#1/1

Use either DBMS_SQL package ( for Oracle 7.x/ 8.0 ) or NATIVE DYNAMIC  SQL ( when using 8i ).

 HTH. Michael.

In article <8bb5cq$ghn$1_at_nnrp1.deja.com>,   rhillebrand_at_starren.nl wrote:
> Hello,
> Some questions about oracle :
> How to create a stored procedure to create a Table with a variable.
> Example :
> CREATE PROCEDURE UPCREATETABLE(varTable VARCHAR2) AS
> BEGIN
> CREATE TABLE varTable(...);
> END;
> How to create a stored procedure insert into a Table with a variable :
> Example :
> CREATE PROCEDURE UPINSERTDATA(varTable VARCHAR2, varValue as NUMBER)
 AS
> BEGIN
> INSERT INTO varTable VALUES (varValue)
> END;
> Is this possible ?
> R. Hillebrand
>
> Sent via Deja.com http://www.deja.com/
> Before you buy.
>

Sent via Deja.com http://www.deja.com/
Before you buy. Received on Wed Apr 12 2000 - 00:00:00 CDT

Original text of this message

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