Hi,
I need help how to include special character that extracted from Oracle database. I've used Encoding as per below script, however symbol like "1/2" interpreted as "?" in SAS.
PROC SQL NOPRINT;
CONNECT TO ODBC (DSN=OracleODBC UID='XXX' PWD='12345');
CREATE TABLE TEST (COMPRESS=YES ENCODING='UTF-8') AS
SELECT *
FROM CONNECTION TO ODBC
(
SELECT *
FROM &TABLE
)
;
DISCONNECT FROM ODBC;
QUIT;
RUN;
Is your SAS session UTF-8 /unicode if not eevnthough the data read is utf-8 it may not display correctly in your session. you can change this by changing the encoding option.
April 27 – 30 | Gaylord Texan | Grapevine, Texas
Walk in ready to learn. Walk out ready to deliver. This is the data and AI conference you can't afford to miss.
Register now and save with the early bird rate—just $795!
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.
Ready to level-up your skills? Choose your own adventure.