Ver Mensaje Individual
  #5 (permalink)  
Antiguo 24/04/2006, 10:39
maurimono
 
Fecha de Ingreso: octubre-2004
Ubicación: Santiago de Chile
Mensajes: 504
Antigüedad: 19 años, 6 meses
Puntos: 0
Al tratar de hacer un procedimiento almacenado en toad. al hacer :
CREATE OR REPLACE PROCEDURE imprimir IS
BEGIN
set newpage
SET SPACE 0
SET LINESIZE 10000
SET PAGESIZE 0
SET ECHO OFF
SET FEEDBACK OFF
SET HEADING OFF
SET UNDERLINE OFF
SET HEADSEP OFF
SET LONG 1000
SET LONGC 1000
SET TRIMSPOOL ON
SET TERMOUT OFF
SET RECSEP OFF
spool C:\impresion\archivo.txt
select * from premio_dupli
spool off;
commit;
ageEND imprimir;
/

me envia el sgte error:
PL/SQL: ORA-00922: falta la opción o no es válida

__________________
Dios es mas grande que tu problema :-)