Is there anything wrong with the syntax

  • Thread starter Syphonics via AccessMonster.com
  • Start date
S

Syphonics via AccessMonster.com

It gave me synatx error from clause?

SELECT GL Finance Credit Query.* FROM GL Finance Credit Query
UNION ALL SELECT GL Finance Debit Query.* FROM GL Finance Debit Query;
 
K

Ken Snell

SELECT [GL Finance Credit Query].* FROM [GL Finance Credit Query]
UNION ALL SELECT [GL Finance Debit Query].* FROM [GL Finance Debit
Query];


You must delimit the query names with square brackets because the query
names contain spaces.
 
S

Syphonics via AccessMonster.com

Thanks a lot its works!

Ken said:
SELECT [GL Finance Credit Query].* FROM [GL Finance Credit Query]
UNION ALL SELECT [GL Finance Debit Query].* FROM [GL Finance Debit
Query];

You must delimit the query names with square brackets because the query
names contain spaces.
It gave me synatx error from clause?

SELECT GL Finance Credit Query.* FROM GL Finance Credit Query
UNION ALL SELECT GL Finance Debit Query.* FROM GL Finance Debit Query;
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top