Hi All,
The below query works fine when i ran it in sql assistant.
sel cast(to_char(trim(extract( month from <table.date_column>)),'09')||'01'||to_char(trim(extract( year from <table.date_column>)),'0999') as date )
from table;
when I run the same query with insert as below in a stored procedure gives error as ' function 'TO_CHAR' does not exist'
insert into table (.............) as
↧