Skip to Main Content

SQLcl: MCP Server & SQL Prompt

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

set numf in sqlcl

2616065May 15 2017 — edited May 17 2017

Oracle SQLDeveloper Command-Line (SQLcl) version: 4.2.0.17.097.0719

oracle database is 12.2.0.1

sqlcl is installed on a windows 7 laptop, database runs on Linux 7

sqlcl, and sql developer ignore setting numformat.  This works fine in sqlplus, sql client is 12.2

SET LINES 200

SET NUMF 999.99

SELECT metric_name

      ,VALUE

  FROM sys.v_$sysmetric

WHERE metric_name IN ('Database CPU Time Ratio', 'Database Wait Time Ratio')

   AND intsize_csec = (SELECT MAX(intsize_csec) FROM sys.v_$sysmetric);

METRIC_NAME               VALUE

Database Wait Time Ratio  0

Database CPU Time Ratio   110.486838198273

Comments
Post Details
Added on May 15 2017
2 comments
430 views