I agree with Charlie. We use joins all the time with no issue.
A basic question: Do you have any ODBC queries working from inside Cloveleaf, or is this your first attempt?
Have you tried it without the join – just to see if that resolves the problem?
Find a person_id value and use it directly in a simplified query – something like:
SELECT alias from person_alias
WHERE active_ind = ‘1’
person_id = ‘yourTestPersonIdHere’
and alias_pool_cd = ‘33451’
and person_alias_type_cd = ‘4’
Then, if that works, add the joins one at a time to see where it breaks.
Have you run the query from a Cloverleaf Tcl shell? Does it work there?
Jeff Dinsmore
Chesapeake Regional Healthcare