BookmarkSubscribeRSS Feed
MariaD
Barite | Level 11

Hi Folks,

 

I use some Oracle tables that I access from a libname (Access to Oracle). Some of my Oracle's tables has special characters inside (not in column or table name but in the data values). Por example, I have a column call City and inside has values like "São Paulo". When I access the table from Oracle client, I saw the value "São Paulo" correctly. But when access from SAS EG, the value appear something like "S?o Paulo".

 

There is any option I can use on libname statement to see the correct characters in SAS EG?

 

I undestand that the option PRESERVE_COLUMN_NAME is only when the problem is on columns name, not on the values. And the option PRESERVE_TAB_NAMES is only for problems with the name of the table.

 

Regards,

4 REPLIES 4
VDD
Ammonite | Level 13 VDD
Ammonite | Level 13

do you have your oracle schema = statement?

MariaD
Barite | Level 11
So to solves the problem I need to set the NLS_LANG environment variable in my SAS server, That is correct?
s_lassen
Meteorite | Level 14
No, I think this refers to the Windows control panel. I cannot find the "advanced" tab in my own Windows control panel, but that may be because I am not administrator on my computer.

hackathon24-white-horiz.png

2025 SAS Hackathon: There is still time!

Good news: We've extended SAS Hackathon registration until Sept. 12, so you still have time to be part of our biggest event yet – our five-year anniversary!

Register Now

How to Concatenate Values

Learn how use the CAT functions in SAS to join values from multiple variables into a single value.

Find more tutorials on the SAS Users YouTube channel.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 4 replies
  • 1819 views
  • 1 like
  • 3 in conversation