Red Gate forums :: View topic - Align column aliases?
Return to www.red-gate.com RSS Feed Available

Search  | Usergroups |  Profile |  Messages |  Log in  Register 
Go to product documentation
SQL Prompt Previous Versions
SQL Prompt Previous Versions forum

Align column aliases?

Search in SQL Prompt Previous Versions forum
Post new topic   Reply to topic
Jump to:  
Author Message
jrummell



Joined: 15 Nov 2006
Posts: 4

PostPosted: Tue Oct 12, 2010 7:14 pm    Post subject: Align column aliases? Reply with quote

I was wondering if SQL Prompt Pro can right align column aliases? Here's an example:

Before:
Code:
SELECT
    column1 AS Column1,
    column2 AS Column2,
    aReallyLongColumnName AS Column3
FROM
    someTable


After:
Code:
SELECT
    column1                         AS Column1,
    column2                         AS Column2,
    aReallyLongColumnName AS Column3
FROM
    someTable


The code font isn't monospaced so it may not display correctly. But the the idea is that "AS Columnx" would appear in the same column for each line.
Back to top
View user's profile Send private message
Chris Auckland



Joined: 24 Oct 2006
Posts: 755
Location: Red Gate Software Ltd.

PostPosted: Wed Oct 13, 2010 8:13 pm    Post subject: Reply with quote

Thanks for your post.

I'm afraid this isn't possible. There isn't a way to add any custom layout configurations, so if the option isn't there, then SQL Prompt 4 can't do it.

If you would like this layout option to be considered for a future version, I can add a feature request.
_________________
Chris
Back to top
View user's profile Send private message Send e-mail
jrummell



Joined: 15 Nov 2006
Posts: 4

PostPosted: Wed Oct 13, 2010 8:17 pm    Post subject: Reply with quote

Yes, please add a feature request. Thanks!
Back to top
View user's profile Send private message
Chris Auckland



Joined: 24 Oct 2006
Posts: 755
Location: Red Gate Software Ltd.

PostPosted: Fri Oct 15, 2010 4:57 pm    Post subject: Reply with quote

I've submitted a feature request SP-3536 for you.
_________________
Chris
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Reply to topic All times are GMT + 1 Hour
Page 1 of 1

 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group