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.
Available on demand!
Missed SAS Innovate Las Vegas? Watch all the action for free! View the keynotes, general sessions and 22 breakouts on demand.
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.