Hello VijayKumar,
That's perfect.
I really appreciate your effort to help fix our issues.
Meanwhile I have a question.
For example a column name "ID" has a value 00001886. I would want to trim the last four values of "ID" column i.e 1886 and then change the datatype of it to decimal(9,4). I do the following:
table_2= CE_PROJECTION(:table_2,["NAME",CE_CALC(cast(RIGHT("ID",4)) as decimal(9,4)) as "ID"]);
Currently I am getting an error sql syntax error: incorrect syntax near "cast". I am really confused with these quotes and stuff. Sometimes I feel they made it simply more complex.
Suggestion?