Add comment to SQL code in MySQL

1149570 pts.
Tags:
MySQL
SQL
One of my co-workers sent me a SQL code and I need to add a comment to it. Is there a way to do that? This is currently for MySQL. Thank you so much.
0

Answer Wiki

Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

Discuss This Question: 2  Replies

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.
  • Elizine
    It can be done in various ways as below - 

    # Comment
    -- Comment
    /* Comment */
    Also refer - http://dev.mysql.com/doc/refman/5.7/en/comments.html

    1,145 pointsBadges:
    report
  • ToddN2000
    Sorry if this comes off harsh, but if you are unfamiliar with adding comments to SQL, what are you doing in the code that needs to have a comment added?
    134,635 pointsBadges:
    report

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

Thanks! We'll email you when relevant content is added and updated.

Following

Share this item with your network: