Solved

tool to format a sql query into a proper format

Posted on 2013-01-22
4
232 Views
Last Modified: 2013-01-23
is there any tool out there to automatically format your query to more easily readable format..

example

select * from a join b on id1=id2

to

SELECT *
FROM
A
JOIN
B
ON
id1=id2..

of course, i am only asking for more complicated queries..

is this out there at least in part.. i don't think ssms offers any solutions for this, not?
0
Comment
Question by:25112
4 Comments
 
LVL 26

Assisted Solution

by:Chris Luttrell
Chris Luttrell earned 167 total points
Comment Utility
I like the Red-Gate tools, i.e. SQL Prompt 5, here, you can try it for 2 weeks free and our team thinks it is well worth the price.
0
 
LVL 39

Assisted Solution

by:Pratima Pharande
Pratima Pharande earned 166 total points
Comment Utility
0
 
LVL 24

Accepted Solution

by:
DBAduck - Ben Miller earned 167 total points
Comment Utility
I would second the Red-Gate SQL Prompt. It is a great product.
0
 
LVL 5

Author Comment

by:25112
Comment Utility
Super! thanks
0

Featured Post

Highfive Gives IT Their Time Back

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

In this article I will describe the Detach & Attach method as one possible migration process and I will add the extra tasks needed for an upgrade when and where is applied so it will cover all.
Ever needed a SQL 2008 Database replicated/mirrored/log shipped on another server but you can't take the downtime inflicted by initial snapshot or disconnect while T-logs are restored or mirror applied? You can use SQL Server Initialize from Backup…
Illustrator's Shape Builder tool will let you combine shapes visually and interactively. This video shows the Mac version, but the tool works the same way in Windows. To follow along with this video, you can draw your own shapes or download the file…
This video shows how to remove a single email address from the Outlook 2010 Auto Suggestion memory. NOTE: For Outlook 2016 and 2013 perform the exact same steps. Open a new email: Click the New email button in Outlook. Start typing the address: …

771 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now