BookmarkSubscribeRSS Feed
🔒 This topic is solved and locked. Need further help from the community? Please sign in and ask a new question.
Gil_
Quartz | Level 8
I have a data set I need append to access table
Here is my script..
Libname test 'j:\prod\database. Accdb';
Proc append base=test data =dep;
Run;

My question how do I refer the name of the table where I want it to append to?
1 ACCEPTED SOLUTION

Accepted Solutions
Reeza
Super User

Test is the full access DB, it would be test.AccessTableName.

 


@Gil_ wrote:
I have a data set I need append to access table
Here is my script..
Libname test 'j:\prod\database. Accdb';
Proc append base=test data =dep;
Run;

My question how do I refer the name of the table where I want it to append to?

 

View solution in original post

2 REPLIES 2
novinosrin
Tourmaline | Level 20

@Gil_wrote:
I have a data set I need append to access table
Here is my script..
Libname test 'j:\prod\database. Accdb';
Proc append base=test data =dep;
Run;

My question how do I refer the name of the table where I want it to append to?

Base= should be the dataset where you want your data=dataset to append to.. In your example, is test a dataset or libname?

Reeza
Super User

Test is the full access DB, it would be test.AccessTableName.

 


@Gil_ wrote:
I have a data set I need append to access table
Here is my script..
Libname test 'j:\prod\database. Accdb';
Proc append base=test data =dep;
Run;

My question how do I refer the name of the table where I want it to append to?

 

hackathon24-white-horiz.png

The 2025 SAS Hackathon has begun!

It's finally time to hack! Remember to visit the SAS Hacker's Hub regularly for news and updates.

Latest Updates

What is Bayesian Analysis?

Learn the difference between classical and Bayesian statistical approaches and see a few PROC examples to perform Bayesian analysis in this video.

Find more tutorials on the SAS Users YouTube channel.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 2 replies
  • 1845 views
  • 0 likes
  • 3 in conversation