I am using CR 8.
I am trying to select information from multiple tables and am getting snagged by an invalid character. My best guess is that I am getting hung up on the FROM protion of my SQL Query.
I am trying to select information from a nested query. My from statment looks similar to this:
---------------------------------------
FROM
"TEST"."JELLYS" JELLYS,
(SELECT JAMID, JAM FROM TEST.JAMS WHERE EXPIRED = 'N') JAMS
---------------------------------------
Is this valid code? If not, is there a way to select from a nested query?
PS. The nested query is much more complicated then EXPIRED = 'N'. I would put the criteria in the main section, but it will not return the results I want.
I am trying to select information from multiple tables and am getting snagged by an invalid character. My best guess is that I am getting hung up on the FROM protion of my SQL Query.
I am trying to select information from a nested query. My from statment looks similar to this:
---------------------------------------
FROM
"TEST"."JELLYS" JELLYS,
(SELECT JAMID, JAM FROM TEST.JAMS WHERE EXPIRED = 'N') JAMS
---------------------------------------
Is this valid code? If not, is there a way to select from a nested query?
PS. The nested query is much more complicated then EXPIRED = 'N'. I would put the criteria in the main section, but it will not return the results I want.