Hi,
i am using SAS Desktop version, i can only connect to database using wizard every time. Can some one suggest me how can i save the database table pulled from wizard saved into SAS Dataset.
I need this urgently please can someone help me on this.
Thanks,
Vamsi
Are you selecting File > Import Data and then working through there using a database as a source?
As one of the final steps it will ask if you want to save the code as Proc Import. Do that and post it here.
Should look something like
PROC IMPORT OUT= WORK.name_you_select
DATATABLE= "name of the table being imported"
DBMS=ACCESS REPLACE;
DATABASE="J:\Drive D\source path to file\some database.mdb";
SCANMEMO=YES;
USEDATE=NO;
SCANTIME=YES;
RUN;
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.
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.