Skip to Main Content

Database Software

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Convert function

DileepJan 18 2011 — edited Jan 19 2011
Hi All,

I am getting following error when I use Convert function in 11g R2.

DEFINE TEMP_VAR VARIABLE NUMBER

TEMP_VAR = 12334556667.56

show convert(TEMP_VAR text 0 no)

ERROR: (ORA-34122) To convert NUMBER to TEXT or ID use:
CONVERT(expression ID [output-format])
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Feb 16 2011
Added on Jan 18 2011
1 comment
205 views