Help using Base SAS procedures

SAS equivalent of SQL outer union corresponding

Accepted Solution Solved
Reply
Contributor
Posts: 48
Accepted Solution

SAS equivalent of SQL outer union corresponding

What would be the SAS equivalent of the following SQL below?

libname testing "c:/res/IDB/testing";

proc sql;

create table work.temp as

select *

from testing.cr96to2004

where tapeyear>2002

outer union corresponding

select *

from testing.cr2005on;


Accepted Solutions
Solution
‎02-14-2013 11:20 AM
Super Contributor
Posts: 1,636

Re: SAS equivalent of SQL outer union corresponding

data temp;

set testing.cr96to2004(where=(tapeyear>2002)) testing.cr2005on;

run;

View solution in original post


All Replies
Solution
‎02-14-2013 11:20 AM
Super Contributor
Posts: 1,636

Re: SAS equivalent of SQL outer union corresponding

data temp;

set testing.cr96to2004(where=(tapeyear>2002)) testing.cr2005on;

run;

🔒 This topic is solved and locked.

Need further help from the community? Please ask a new question.

Discussion stats
  • 1 reply
  • 350 views
  • 2 likes
  • 2 in conversation