官术网_书友最值得收藏!

Command-line interface for SQL formatting

As an alternative to using the SQL Developer graphical interface for formatting, put an .sql file or all .sql files in a directory or folder.

Before invoking the command-line interface for SQL formatting, start the SQL Developer graphical interface so that the database, that is SQL Formatter preferences (which are used for the formatting), is loaded and available.

The following example takes the SQL code in C:\Performance_Issues\MyScript.sql and creates C:\Performance_Issues\MyScript_Out.sql containing the formatted code. (Enter the command in one command line.):

C:\sqldeveloper\sqldeveloper\bin>sdcli format input= C:\Performance_Issues\MyScript.sql output= C:\Performance_Issues\MyScript_Out.sql
主站蜘蛛池模板: 渑池县| 瑞丽市| 汶川县| 雷州市| 宁河县| 潜山县| 湘潭县| 公安县| 成都市| 南川市| 自贡市| 鲁甸县| 三都| 沧州市| 阿拉善盟| 星子县| 淮北市| 长治县| 施秉县| 郧西县| 兴城市| 新竹县| 玉环县| 凉山| 大埔县| 克东县| 巧家县| 阳原县| 沐川县| 新疆| 凌源市| 中卫市| 莱芜市| 文水县| 平邑县| 昆明市| 华池县| 资源县| 班戈县| 金秀| 西乌珠穆沁旗|