Comments in queries

  • Thread starter Thread starter Jonathan
  • Start date Start date
J

Jonathan

Is there a way to put comment lines in in an Access query? e.g.

;Comment
;Comment
SELECT ...
;Comment

Thanks,
Jonathan
 
Jonathan said:
Is there a way to put comment lines in in an Access query? e.g.

;Comment
;Comment
SELECT ...
;Comment

There's no built-in way, and I really wish there were. Stephen Lebans
has worked his usual deep magic to create a way to save and present
comments in the SQL view window, though. I haven't used it, but you'll
find it here:

http://www.lebans.com/addsqlcomments.htm
 
Hummm... I do it all the time with PL/SQL and Oracle. Something like below
works there:

SELECT * /* comment
goes here */
FROM pers;
or
SELECT * --comment goes here
FROM pers;

No joy in Access. I even tried the single quote ' but that didn't work.

Good question! Hopefully someone has a matching good answer.
 

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

Back
Top