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.
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.