How to Use a FROM Statement in a PSQuery Expression
We are upgrading from PT.8.21 TO 8.52 and we have queries that use the FROM statement in expressions. These expressions are used and fields in the SELECT statement. The way we have packeged the FROM is by using a SQL Object containing the literal 'FROM'. This worked perfectly for us in 8.51 but we are getting the 'FROM clauses are not allowed in expressions.' error now that we are running the same set up in 8.52.
An example of the 8.51 code is:
SELECT
A.EMPLID,
(SELECT B.NAME %SQL(ZZ_SQL) PS_NAMES B WHERE B.EMPLID = A.EMPLID)
FROM PS_JOB
0