Link to home
Start Free TrialLog in
Avatar of Jenkins
JenkinsFlag for United States of America

asked on

Create a join on part of a field

Table1 has a field 2 bytes in length.  Table2 has a field 10 bytes in length.  I would like to join the two tables on the Table1 field and the first two bytes of the Table2 field.  How to do it? Thank you.
ASKER CERTIFIED SOLUTION
Avatar of Dale Fye
Dale Fye
Flag of United States of America 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
SOLUTION
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
Avatar of Jenkins

ASKER

The first two characters of the 10 character field will always be upper case alpha. The 2 character field in the other table will also always be upper case alpha.  
Then the join clause I used in my previous post should work.

Avatar of Jenkins

ASKER

Thank you very much. Very useful technique.