BookmarkSubscribeRSS Feed
devanand31
Calcite | Level 5

Hi ,

 

Im seeing the out of the Append Table task as a distinct records of the observations.

 

My Append Table task has the below logic,

select * from tablea

outer union corr

select * from tableb;

 

if tablea is having any duplicate records, then the output of the Append Table is having only one records.

Is this the default behavior of Append Table task? Kindly advice. Thanks in advance.

 

Regards,

Dev
  

1 REPLY 1
Patrick
Opal | Level 21

@devanand31 wrote:

if tablea is having any duplicate records, then the output of the Append Table is having only one records.

Is this the default behavior of Append Table task? Kindly advice. Thanks in advance.


The target table will contain all rows from both source tables.

OUTER UNION CORR concatenates tables without removing any rows.

 

Combining Queries with Set Operators

Patrick_0-1673141336323.png

 

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

Creating Custom Steps in SAS Studio

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.

SAS Training: Just a Click Away

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

Browse our catalog!

Discussion stats
  • 1 reply
  • 544 views
  • 0 likes
  • 2 in conversation