oracle cast number in varchar code example Example: oracle sql varchar to number SELECT to_number('1') FROM DUAL;