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

  • Oracle SQL Developer
  • Ajith Narayanan
  • 92字
  • 2021-07-16 09:39:06

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
主站蜘蛛池模板: 平武县| 安宁市| 册亨县| 依兰县| 宁蒗| 吴旗县| 龙山县| 南雄市| 宜丰县| 高雄市| 磐安县| 大余县| 曲靖市| 清苑县| 保康县| 内乡县| 孝感市| 碌曲县| 靖边县| 武隆县| 英山县| 普洱| 石城县| 保定市| 河西区| 塔城市| 仁寿县| 虎林市| 金溪县| 巩义市| 呼图壁县| 武宁县| 富顺县| 新建县| 太和县| 京山县| 鄢陵县| 兖州市| 玉溪市| 长寿区| 全南县|