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.
Build your skills. Make connections. Enjoy creative freedom. Maybe change the world. Registration is now open through August 30th. Visit the SAS Hackathon homepage.
Register today!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.
Select SAS Training centers are offering in-person courses. View upcoming courses for: