I tried this query.We have a equivalent DB function for CAST.
SELECT NAME,FUNC_DBNAME FROM AL_FUNCINFO
where name='cast'
![Capture.JPG]()
That means, cast should work.
I don't know, why it was not pushed to DB. Do you think, prefix space will be created, while using cast to convert INT to VARCHAR?
Thanks