Link to home
Start Free TrialLog in
Avatar of premkripalani
premkripalaniFlag for Australia

asked on

SAS Query duplicate records

hi,
I am running simple SAS query with inner join. I am getting duplicate records. I don't know why?
any help please.
cheers
P
Avatar of Aloysius Low
Aloysius Low
Flag of Singapore image

are the values in the field or combination of fields you are using for the join unique? do they contain blanks?
Avatar of premkripalani

ASKER

the join is on staff_Id. which is unique value. however, there are two tables. table 1 staff_id has 12 char and table 2 staff_if has 10 char. actual staff id is only 8 char. and the output query has 12 char.
does it matters?
ASKER CERTIFIED SOLUTION
Avatar of Aloysius Low
Aloysius Low
Flag of Singapore image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
all good,