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: changed from ms sql to oracle

Re: changed from ms sql to oracle

From: Juhan Kundla <juhan_at_ensib.NICHT-SPAM.ee>
Date: Wed, 13 Sep 2000 13:36:23 +0200
Message-ID: <39BF66B7.9A6D3891@ensib.NICHT-SPAM.ee>

mike wrote:
>
> hi all:
> i created a procedure in mssql like below:
> --------------------------------------
> create procedure getData
> ( @tblName varchar(20)
> )
> as
> Begin
> declare @sql varchar(100)
> select @sql= 'select * from ' + @tblName
> exec(@sql)
> End
> --------------------------------------
> now i want to change it to oracle what should i do?

You *definetly* should RTFM.

Get familiar with "PL/SQL User's Guide and Reference" and DBMS_SQL package.

Juhan

-- 
+-----------------+
|NB! Please remove|
|   .NICHT-SPAM   |
|  when replying  |
|    to get my    |
|     *REAL*      |
| e-mail address! |
|                 |
|  Cheers, Juhan  |
+-----------------+
Received on Wed Sep 13 2000 - 06:36:23 CDT

Original text of this message

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