Ver Mensaje Individual
  #5 (permalink)  
Antiguo 22/06/2006, 11:48
gustavob
 
Fecha de Ingreso: junio-2006
Mensajes: 23
Antigüedad: 17 años, 11 meses
Puntos: 0
gracias!,
hey puse en el init.ora al final
nls_date_format = 'DD-MM-YYYY HH24:MI:SS'
pero despues trato de hacer un insert
INSERT INTO TABLA VALUES('22-06-2006 13:01:00',13,17.22,17,37,10,3.218,1015,2)

y dice
ERROR at line 1:
ORA-01830: date format picture ends before converting entire input string

entro por sqlplus y
SQL> select sysdate from dual;

SYSDATE
--------
22/06/06

no cambio nada, ago el alter session set nls_date_format = 'dd-mm-yyyy hh24:mi:ss' y vuelve a funcionar. no entiendo