There are three ways to write comments in navicat:
A string starting with # can have multiple #s in a row.
String starting with -, note: it can only be -, and a half-width space needs to be added after -.
Strings surrounded by /* */ are similar to comments in Java, but the beginning of // is not allowed.
Related recommendations: "Navicat for mysql graphic tutorial"
Example:
SELECT * from s_user; # 这注释持续到行尾 SELECT * from s_user; -- 这注释持续到行尾 SELECT * from s_user; /** 一行注释 */ SELECT * from s_user; /* 多行注释 多行注释 */
The above is the detailed content of How to annotate navicat. For more information, please follow other related articles on the PHP Chinese website!