Oracle SQL Developer - TO_CHAR Bugs

Asked

Viewed 74 times

0

Good morning. I have a problem/doubt: Why is it not possible to use TO_CHAR more than once for the same field? And why does this influence the outcome of other fields? If someone can explain it to me, thank you. :)

Example 1:

inserir a descrição da imagem aqui

Example 2:

inserir a descrição da imagem aqui

  • Why does "to_char" for a field that is already "string", you want to convert to "tolerance"? to_char is for formatting numbers and dates, see https://docs.oracle.com/cd/B19306_01/server.102/b14200/sql_elements004.htm#i34570

  • The column is not string, it’s a CLOB, and I want to make different concatenations with it.

  • clob !! Putz ! tried DBMS_LOB ? https://docs.oracle.com/database/121/ARPLS/d_lob.htm#Arpls66748see also this example sending email https://oracle-base.com/articles/misc/email-from-oracle-plsql

  • So I tried, what happens, a TO_CHAR works, a DBMS_LOB works, one of each also works, however, any two that I use for the second time in the same column, Leave another column that has nothing to do with the one that I convert with TO_CHAR/DBMS_LOB, values are zeroed as you can see in the print. (the other column is a BINARY_DOUBLE) .

  • Post the Oracle error in the topic. Does the Oracle error signal this ? Columns Blobs have many restrictions (almost to the point of not using them <laughs>) , here where ERP used a LONG RAW (discontinued) and some columns ,what I did was a FUNCTION that receives the line key and there it treats the "blob" returning the string.

  • I created: https://community.oracle.com/message/15634849#15634849

  • Don’t you want to give me the job so I can see if the problem would continue? If you don’t want to be cool, I know it’s your personal job. My email: [email protected] . Thank you very much.

  • I gave it to you without details because it’s company material.

Show 3 more comments
No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.