Skip to main content
Question

Retrieving values from IFS to Excel

  • September 11, 2024
  • 1 reply
  • 35 views

Forum|alt.badge.img+9
  • Sidekick (Customer)
  • 151 replies

Hello,

Could you please give me advice on this problem. My task was to add new column SUM which will count values in two columns and in this column are decimal values with a dot, but I want decimal values with a comma, how can I change it? This is my query:

“SELECT :QUANTITY + :QTY_WAIV_DEV_REJ 
FROM INVENTORY_VALUE_PART_LEVEL_EXT”

 

I tried this command:

 

“SELECT REPLACE(TO_CHAR(:QUANTITY, '99999999.9'), '.', ',') + 
       REPLACE(TO_CHAR(:QTY_WAIV_DEV_REJ, '999999999'), '.', ',')
FROM INVENTORY_VALUE_PART_LEVEL_EXT  “

 

in SQL works, but in IFS it didnt retrieves any data.

1 reply

xeam-eran
Sidekick (Customer)
Forum|alt.badge.img+6
  • Sidekick (Customer)
  • 38 replies
  • September 13, 2024

Hi,

It all depends of course on the NLS_LANGUAGE and regional settings regarding which decimal separator to use, so I leave that out. But in your case I think you first need to convert back to number format before adding the two values.


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings