I have a specific need in which I need to convert BLOB data to VARBINARY.
When I execute below statement, it gives me error - "ORA-000907: missing right parenthesis" whereas it can be seen that both the opening parenthesis are closed.
select cast(ImgTable.ImageBLOB as varbinary(max)) from ImgTable
What can be the problem? And how to handle this?