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

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
主站蜘蛛池模板: 磴口县| 丹江口市| 花莲市| 浦北县| 太原市| 耒阳市| 夏津县| 扎兰屯市| 灵石县| 姚安县| 青岛市| 陈巴尔虎旗| 鲜城| 新乡县| 新津县| 徐汇区| 鄢陵县| 雅安市| 黄大仙区| 诏安县| 华容县| 古蔺县| 祥云县| 子长县| 盐山县| 左云县| 称多县| 于田县| 建始县| 海安县| 翼城县| 军事| 安康市| 呈贡县| 丰原市| 阿图什市| 黄骅市| 民勤县| 仙桃市| 依安县| 行唐县|