Home >Database >navicat >How to set keyword capitalization in navicat

How to set keyword capitalization in navicat

(*-*)浩
(*-*)浩Original
2019-08-22 13:53:5412584browse

For sql statements, you can use navicat's formatting tool to format it. The tool will help us standardize keywords and line breaks and indent, which greatly improves the readability of sql code. Let's introduce the formatting function of navicat.

How to set keyword capitalization in navicat

First of all, list the sql statement as shown below. If it is in this format, although it is not complicated, you may still feel awkward reading it (recommended tutorial: navicat tutorial )

How to set keyword capitalization in navicat

Click the [Format] menu on the menu bar of navicat, and first set the [Beautify SQL Options]

How to set keyword capitalization in navicat

In the Beautify SQL option setting dialog box, you generally need to check the capitalization of keywords, so that the SQL keywords will be converted to uppercase when beautifying the format. You can also click the default button to restore To the default settings

How to set keyword capitalization in navicat

Now you can start to beautify the format of the above sql statement, click the menu format, and then select Beautify SQL

How to set keyword capitalization in navicat

After the beautification is completed, as shown in the figure, the originally confusing SQL statements have become much clearer. Nesting and indentation have been processed for us, and the keywords have also been processed. All converted to uppercase

How to set keyword capitalization in navicat

The above is the detailed content of How to set keyword capitalization in 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