Home  >  Article  >  Database  >  How to annotate navicat

How to annotate navicat

(*-*)浩
(*-*)浩Original
2019-08-17 11:14:3521593browse

How to annotate navicat

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!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn