MySQL 中 /* 的含義是什麼?
這是一種註釋型別。/* 是註釋的開頭,*/ 是註釋的結尾。
我們來實現並演示如何建立註釋
mysql> /* This is the first MySQL Program */
MySQL 將忽略上述註釋。
我們來看一個例子。在此處,我們用 /* 和 */ 寫一個註釋。
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)
廣告