When I try to write a SAS dataset from SAS to Oracle I receive the error message:
ERROR: Error attempting to CREATE a DBMS table. ERROR: ORACLE execute error: ORA-00907: missing right parenthesis..
This might be due to the column names that I am trying to import. Oddly there is no ‘(‘ in the column names.
The list of column names is attached.
try this one last time PRESERVE_COL_NAMES = Yes
try options validvarname = any;
ya. try that
Same error. I think Oracle is more restrictive than SAS, looking into the restriction is tricky.
try this one last time PRESERVE_COL_NAMES = Yes
The below worked:
proc sql;
create table ods.OPDS_IPEDS_MULTI_INST (PRESERVE_COL_NAMES = Yes) as
select * from yearsCombined;
quit;
Thanks for your help with this. I having a hard time researching this one.
Join us for SAS Innovate April 16-19 at the Aria in Las Vegas. Bring the team and save big with our group pricing for a limited time only.
Pre-conference courses and tutorials are filling up fast and are always a sellout. Register today to reserve your seat.
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.