Loading...

What is /* in MySQL?


This is a type of comment. The /* is the beginning of a comment and */ is the end of comment. MySQL will ignore the above comment.

Which is the comment symbol in MySQL * 1 point && /* */?

In MySQL, the -- (double-dash) comment style requires the second dash to be followed by at least one whitespace or control character (such as a space, tab, newline, and so on).

How do I comment out in MySQL?

In MySQL, a comment that starts with /* symbol and ends with */ and can be anywhere in your SQL statement. This method of commenting can span several lines within your SQL.

How do you comment multiple lines in MySQL?

Multi-line comments start with /* and end with */ . Any text between /* and */ will be ignored.

How do I select and comment in MySQL?

mysql> SELECT 1+1; # This comment continues to the end of line mysql> SELECT 1+1; -- This comment continues to the end of line mysql> SELECT 1 /* this is an in-line comment */ + 1; mysql> SELECT 1+ /* this is a multiple-line comment */ 1; Nested comments are not supported.

How do I comment out in MySQL?

In MySQL, a comment that starts with /* symbol and ends with */ and can be anywhere in your SQL statement. This method of commenting can span several lines within your SQL.

Tagsadcod