DATA Step, Macro, Functions and more

insert a column and display yes or no with ID check from two tables

Reply
Contributor
Posts: 70

insert a column and display yes or no with ID check from two tables

i have two tables with t1, t2

t1 has columns ID (only one time), name

t2 has ID (has repeated times) ,server, poc

 

i want to insert a new column in t1 with check if t1.ID matches t2.ID as yes or no only one time.

Super User
Posts: 13,942

Re: insert a column and display yes or no with ID check from two tables

Can you provide brief examples of the data you have and what you want the final table to look like?

 

It isn't clear if you want other values from t2 or not.

Ask a Question
Discussion stats
  • 1 reply
  • 100 views
  • 0 likes
  • 2 in conversation