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
..
 
Top