Comment Lines in MS Access SQL

D

Don_G

I am writing SQL statements in MS Access 2000. I would like to "comment
out" a statement.

/* sql stmt */ does not work.

Preceeding the line with -- (two dashes) does not work either. How can I
"comment out" an SQL statement?

(If you prefer to reply to my e-mail remove NOSPAM from the return address.)
 
G

Guest

You can't. Neither can you highlight the part you want to execute.
Save the SQL in a text file with comments if you need to.

-Dorian
 
G

Guest

Oh wouldn't that be nice! I do it all the time with Oracle.

I believe that there was a discussion about it around a year ago. There were
some convoluted ways of doing it, but none were easy or practical. So in a
nutshell, not in Access.
 
J

Jamie Collins

I am writing SQL statements in MS Access 2000. I would like to "comment
out" a statement.

/* sql stmt */ does not work.

Preceeding the line with -- (two dashes) does not work either. How can I
"comment out" an SQL statement?

(If you prefer to reply to my e-mail remove NOSPAM from the return address.)

Access/Jet SQL has no syntax for comments :(

Jamie.

--
 

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