He puesto el siguiente codigo en SQL y me da ese error. Cual es el problema, porque dice que no esta la funcion SUBSTRING, pero me la coje como valida en la sintaxis y ademas esta en la ayuda.
Código:
/************************ERROR**************************************************
The next statement causes the following error:
An error was found in the application program input parameters for the SQL statement.
SQL error code = -804.
Function unknown.
SUBSTRING.
SQL warning code = 301.
DATE data type is now called TIMESTAMP.
*******************************************************************************/
insert into movim_o2 (fecha2)
select cast(substring(fecha, 5, 2)||'/'||substring(fecha, 3,2)||'/20'||substring(fecha, 1, 2) as date)
from movim_o2;
Gracias