> I would like to create a *.sql file that I can later use the SOURCE
command
> with. I would like to place comments along side the SQL statements for
> documentation purposes. Is this possible and if so - how is it done? I
don't
> want to add comments to a table.

· # marks everything to the right of it as a comment;
· so does -- ; the dashes must be followed by a space;
· /*...*/ marks off an in-line or multi-line comment, but if the comment
contains a semi-colon or unmatched quote, MySQL will not correctly
detect end-of-comment.

PB



---------------------------------------------------------------------
Before posting, please check:
   http://www.mysql.com/manual.php   (the manual)
   http://lists.mysql.com/           (the list archive)

To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php

Reply via email to