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.

sas-innovate-2024.png

Available on demand!

Missed SAS Innovate Las Vegas? Watch all the action for free! View the keynotes, general sessions and 22 breakouts on demand.

 

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.

Click image to register for webinarClick image to register for webinar

Classroom Training Available!

Select SAS Training centers are offering in-person courses. View upcoming courses for:

View all other training opportunities.

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