I have a query that uses a sub query in the select statement. Example:
I know that access will randomly remove your parenthesis in these examples and turn them into brackets. This has apparently happened to me and now I can't open the query in design view to fix it. The query errors out with an invalid bracketing error message and I can not edit the SQL.
Anyone know how to extract the code of the query, without using design view, so I can fix this and create a new query?
Code:
Select * from
(select * from tablea union select * from tableb)
I know that access will randomly remove your parenthesis in these examples and turn them into brackets. This has apparently happened to me and now I can't open the query in design view to fix it. The query errors out with an invalid bracketing error message and I can not edit the SQL.
Anyone know how to extract the code of the query, without using design view, so I can fix this and create a new query?