Manage your account and access personalized content. Sign up for an Oracle Account
Access your cloud dashboard, manage orders, and more. Free Cloud Platform Trial
CAST (in PLSQL) was used outside of a DML scope.
Do not use CAST outside DML statements.