Quantcast
Channel: Question and Answer » oracle
Viewing all articles
Browse latest Browse all 717

Oracle: built in SQL pretty-print?

$
0
0

Oracle has some packages that will dump objects in SQL format, such as dbms_metadata.set_transform_param. One option that can be set is to “pretty print” the SQL.

Is there anything in Oracle that will pretty print a random SQL query string? Something like:

select pretty_print('select * from emp;') sql from dual;

sql
---
'select *
   from emp;'

Viewing all articles
Browse latest Browse all 717

Trending Articles