I am trying to connect to oracle to read the sequence object using sas eg.
Please find the code used
proc sql;
connect to oracle as oralib ( path='XXXX' authdomain="XXXX");
create table seq as select * from connection to oralib (
SELECT s_id.nextval as seqval
from dual );
disconnect from oralib;
quit;
I am getting the following error
Please help me in this regard
the error message is missing. Since you are using pass-thru SQL, the error is likely to be an Oracle one and you can go to an Oracle forum to search for it.
the error message is missing. Since you are using pass-thru SQL, the error is likely to be an Oracle one and you can go to an Oracle forum to search for it.
Thank you. It was an oracle error.
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 lock in 2025 pricing—just $495!
Still thinking about your presentation idea? The submission deadline has been extended to Friday, Nov. 14, at 11:59 p.m. ET.
Check out this tutorial series to learn how to build your own steps in SAS Studio.
Find more tutorials on the SAS Users YouTube channel.
Ready to level-up your skills? Choose your own adventure.