Comma at the begin for DDLs

Normally I like my commas at the end of the line, but for DDLs I need the at the beginning of the line (for our automatic code processor tool). 

Is there any way to achieve this with the latest Datagrip?

3 comments
Comment actions Permalink

Francescomucio,

Could you specify the way you generate your DDL?

 

0
Comment actions Permalink

The DDL is just written in Datagrip (where I also format it), but I want to feed it to another tool that will process it.

Because of the way the tool works I need to have the commas at the end of the row. But maybe I am overcomplicating things, the other tool is also created by me, so I could make it work with the current syntax, but commas at the beginning of the line for DDLs would be nice anyway :)

0
Comment actions Permalink

Francescomucio,

You can configure SQL formatter the way you need and check reformat generated code

 

0

Please sign in to leave a comment.