There are three ways to write comments in navicat: (Recommended tutorial: navicat tutorial)
Strings starting with # can be multiple #s in a row
Strings starting with – –, note: it can only be – –, and – – needs to be followed by a half-width space
Strings surrounded by /* */, similar to comments in Java, but the beginning of // is not allowed
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!