
02/03/2008, 18:05
|
| | Fecha de Ingreso: febrero-2008
Mensajes: 1
Antigüedad: 17 años Puntos: 0 | |
Re: pl/sql oracle Cita:
Iniciado por maurimono siguie sin funcionar.
CREATE OR REPLACE procedure paso_uno_prueba (v_ciclo_fact char)
is
begin
insert
into cobranza
( RUT , NOMBRE , CUENTA , FOLIO
,EMISION , VENCIMIENTO, MONTO , TIPO_DOC
,USU_CLIE, NAT_JUR , FONO , CELULAR
,CORREO , FORMA_PAGO , CICLO_FACT, FECHA_PROC
,DIA_MENSAJERIA
)
select * from cobranza_217 where ciclo_fact like '%v_ciclo_fact%';
end;
/
no se como usar el like!!!  Debes concatenar el parametro con la sentencia como te decian por alla arriba es asi como te pongo aki , a mi tambien me pasaba lo mismo y resolvi asi.
select * from cobranza_217 where ciclo_fact like '%'||v_ciclo_fact||'%'; |