Home  >  Article  >  Database  >  What does /* mean in MySQL?

What does /* mean in MySQL?

WBOY
WBOYforward
2023-09-23 19:21:051813browse

What does /* mean in MySQL?

This is a comment. /* is the beginning of the comment, */ is the end of the comment.

Let's implement and show how to create a comment

mysql> /* This is the first MySQL Program */

MySQL will ignore the above comment.

Let's look at an example. Here we have written comments

mysql> /*This table has information about person */
mysql> create table DemoTable
(
   PersonId int NOT NULL AUTO_INCREMENT PRIMARY KEY,
   PersonName varchar(20),
   PersonAge int
);
Query OK, 0 rows affected (0.58 sec)
using /* and */

The above is the detailed content of What does /* mean in MySQL?. For more information, please follow other related articles on the PHP Chinese website!

Statement:
This article is reproduced at:tutorialspoint.com. If there is any infringement, please contact admin@php.cn delete