Community Spring Cleaning week is here! Join your fellow Maveryx in digging through your old posts and marking comments on them as solved. Learn more here!
The Product Idea boards have gotten an update to better integrate them within our Product team's idea cycle! However this update does have a few unique behaviors, if you have any questions about them check out our FAQ.

Alteryx Designer Desktop Ideas

Share your Designer Desktop product ideas - we're listening!
Submitting an Idea?

Be sure to review our Idea Submission Guidelines for more information!

Submission Guidelines

Changes to word-wrap in SQL Query window

the SQL Editing screen has recently been changed (thank you @jpoz  and team!) - and now has syntax indenting and keyword coloring.

 

Could I ask for a minor change:

- The tool seems to be doing a word-wrap even if the container doesn't need it - for example in the screenshot below, the entire on clause can fit on one line because I've expanded the window so that it doesn't need to wrap.

- Could you also default to putting the ON clause for a join 4 spaces indented underneath the join clause?   worked example below.

 

Wordwrap:

 

SQL Query Wordwrap.png

 

Indenting Structure:

 

Could we use a default structure for queries where the on part is indented underneath the Join?

 

Select

    Field1,

    Field2,

    field3

from

    Table1

    inner join table2

        On Table1.key = table2.key

        and table1.keyb = table2.keyb

    inner join table3

        on table3.key = table1.key

        and table3.date = table1.date

 

 

3 Comments
jpoz
Alteryx
Alteryx

Thanks for reporting this. The word wrap issue is an easy fix, the second part will be a little more difficult.

SeanAdams
17 - Castor
17 - Castor

Thank you @jpoz  - I'll split the indenting one into a different idea here: https://community.alteryx.com/t5/Alteryx-Designer-Ideas/Changes-to-indenting-in-SQL-Query-Window/idi...

 

KylieF
Alteryx Community Team
Alteryx Community Team
Status changed to: Implemented

Hi Sean!

 

Thank you for the feedback! We were able to include the SQL wordwrapping in our latest release, 2020.1! Since the indenting structure idea was moved to it's own unique post I'm going to update this idea to implemented.