ORA-01830 y NLS_LANG
Problema: Exportación de fichero sql con Oracle SQlDeveloper con NLS_* española (ver Tools -> Preferences Database -> NLS) falla al importar con SqlPlus con configuración estadounidense:Insert into MCPDBUSER.MCP_ACK (ID,IDCALL,"date",TYPE,RETVALUE) values ('514089','75075',to_timestamp('11/04/13 20:21:22,000000000','DD/MM/RR HH24:MI:SSXFF'),'PlayNowState','0')
*
ERROR at line 1:
ORA-01830: date format picture ends before converting entire input string
Solución:
Establecer la variable NLS_LANG antes de utilizar SqlPlus. Aquí se comenta.
export NLS_LANG="SPANISH_SPAIN.WE8MSWIN1252"