Comments in MySQL : Comment « Command MySQL « SQL / MySQL






Comments in MySQL

       

-- There are three ways of supplying comments in SQL commands:
SELECT 1 # comment
SELECT 1 /* comment */
SELECT 1 -- comment

   
    
    
    
    
    
    
  








Related examples in the same category

1.Comments in SQL Statements
2.Check table comments from INFORMATION_SCHEMA.TABLES