This syntax allows a comment to extend over multiple lines not be on the same line. : Comments : Introduction MySQL TUTORIALS


MySQL TUTORIALS » Introduction » Comments »

 

This syntax allows a comment to extend over multiple lines not be on the same line.


mysql>
mysql>
mysql> SELECT /* this is an in-line comment */ 1;
+---------+
1   |
+---------+
|       |
+---------+
row in set (0.00 sec)

mysql> SELECT 1+
    -> /*
   /*> this is a
   /*> multiple-line comment
   /*> */
    -> 1;
+-------+
1+

|
+-------+
|     |
+-------+
row in set (0.00 sec)

mysql>



Leave a Comment / Note


 
Verification is used to prevent unwanted posts (spam). .

Follow Navioo On Twitter

MySQL TUTORIALS

 Navioo Introduction
» Comments