Comment in Union Query

B

Bongard

I am trying to comment some lines out in a union query and it doesn't
seem to work the same way that it would in a normal SQL query. I have
tried both /* Comment */ and -- before the line and neither method
seems to be understood when trying to run the query.

Any ideas?

Thanks,
Brian Bomgren
 
J

John Spencer

Yeah! Get Microsoft to implement the ability to comment SQL code.

In other words, you cannot have comments in Access SQL statements. And I
agree that it is a pain in the (choose your portion of your anatomy)!!!

--
John Spencer
Access MVP 2002-2005, 2007
Center for Health Program Development and Management
University of Maryland Baltimore County
..
 

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

Similar Threads

UNION QUERY 2
Union query 5
append with union query? 6
Currency Format Lost in Union Query 1
Run Make Table Query on Union Query 2
Union Query and Field Alias 7
Union Query 1
Union Query 2

Top