Ver Mensaje Individual
  #1  
Antiguo 10-04-2008
Avatar de SpyO_O
SpyO_O SpyO_O is offline
Miembro
 
Registrado: may 2003
Ubicación: Argentina
Posts: 22
Reputación: 0
SpyO_O Va por buen camino
Question Firebird to Oracle

Hola a todos , estoy intentando mover firebird a oracle, todo a salido muy bien, Datos,estructuras, triggers.
el problema llego cuando intente mover un procedimiento almacenado. no encuntro manera de hacerlo en PL/SQL ,


el prodimiento en firebird es el siguiente:

create PROCEDURE Demo1(vLike varchar(15))
returns(vName Varchar(60),vMat Integer,c integer)

AS

BEGIN
c=0;
for Select Nome,Mat from TB_per tr
where tr.nome like '%'||:vLike||'%'
into :vName,:vMat do
begin
if Vname='Pedro' then
c=c+1;
suspend;
end
END
yo no encuentro manera de hacerlo en oracle , alguien puede ayudarme por favor?
__________________
Q Onda?
Responder Con Cita