Hi,
I am trying to join to tables using the Employee ID field.
Both are views from other databases (previously never linked) one holds the value as number and the other as a text string.
I have tried using the to_number function but keep getting the error
"JOIN expression not supported."
This is my statement:
I can't change the tables as they are views and also everything else is linked up using the current formats, so it wouldn't be feasible to change it at table level as this would affect other applications.
Hope you can help,
Andy
I am trying to join to tables using the Employee ID field.
Both are views from other databases (previously never linked) one holds the value as number and the other as a text string.
I have tried using the to_number function but keep getting the error
"JOIN expression not supported."
This is my statement:
Code:
SELECT PEND.*
FROM PEND INNER JOIN StaffList ON PEND.EMPID = to_number('StaffList.ID')
I can't change the tables as they are views and also everything else is linked up using the current formats, so it wouldn't be feasible to change it at table level as this would affect other applications.
Hope you can help,
Andy