Mega Code Archive

 
Categories / MySQL Tutorial / Introduction
 

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

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