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

 

SAS Innovate 2025: Call for Content

Are you ready for the spotlight? We're accepting content ideas for SAS Innovate 2025 to be held May 6-9 in Orlando, FL. The call is open until September 25. Read more here about why you should contribute and what is in it for you!

Submit your idea!

SAS Enterprise Guide vs. SAS Studio

What’s the difference between SAS Enterprise Guide and SAS Studio? How are they similar? Just ask SAS’ Danny Modlin.

Find more tutorials on the SAS Users YouTube channel.

Click image to register for webinarClick image to register for webinar

Classroom Training Available!

Select SAS Training centers are offering in-person courses. View upcoming courses for:

View all other training opportunities.

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