Skip to Main Content

SQL Developer

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!

Can the formatter be called externally?

John_KJan 10 2020 — edited Jan 11 2020

I am writing an internal utility to migrate some reports, and one thing I'd like to do is format the SQL whilst I'm at it. I've tried using the sqlparse Python module, but unfortunately it doesn't cope well with some things, particularly parentheses around columns (which have been generated automatically). So I was wondering whether it was possible in any way to call the SQL formatting engine of SQLDeveloper from outside the tool by a script?

This post has been answered by thatJeffSmith-Oracle on Jan 10 2020
Jump to Answer

Comments

Processing

Post Details

Added on Jan 10 2020
7 comments
340 views