K
Kahuna
Hi Folks
I need to generate a fairly long SQL string to run as an action query - I do
this in code.
General select is simple enough, but using several tables with search
criteria in each is tripping me up. I've found it difficult to determine the
numbers of parentheses etc, so I think using a SubSelect will be a safer
solution, where I can generate each Select statement seperately and
concatenate them before running.
My challenge is getting an example of a SQL string with several SubSelects
to use as an example. Not sure if the Sub should be in the FROM section or
the WHERE section of the SQL String?
Appreciate any feedback.
I need to generate a fairly long SQL string to run as an action query - I do
this in code.
General select is simple enough, but using several tables with search
criteria in each is tripping me up. I've found it difficult to determine the
numbers of parentheses etc, so I think using a SubSelect will be a safer
solution, where I can generate each Select statement seperately and
concatenate them before running.
My challenge is getting an example of a SQL string with several SubSelects
to use as an example. Not sure if the Sub should be in the FROM section or
the WHERE section of the SQL String?
Appreciate any feedback.