Solved

tool to format a sql query into a proper format

Posted on 2013-01-22
4
233 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
ID: 38808303
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
ID: 38808592
0
 
LVL 24

Accepted Solution

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

Author Comment

by:25112
ID: 38810709
Super! thanks
0

Featured Post

The Eight Noble Truths of Backup and Recovery

How can IT departments tackle the challenges of a Big Data world? This white paper provides a roadmap to success and helps companies ensure that all their data is safe and secure, no matter if it resides on-premise with physical or virtual machines or in the cloud.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Occasionally there is a need to clean table columns, especially if you have inherited legacy data. There are obviously many ways to accomplish that, including elaborate UPDATE queries with anywhere from one to numerous REPLACE functions (even within…
How to leverage one TLS certificate to encrypt Microsoft SQL traffic and Remote Desktop Services, versus creating multiple tickets for the same server.
This Micro Tutorial demonstrates using Microsoft Excel pivot tables, how to reverse engineer competitors' marketing strategies through backlinks.
Windows 10 is mostly good. However the one thing that annoys me is how many clicks you have to do to dial a VPN connection. You have to go to settings from the start menu, (2 clicks), Network and Internet (1 click), Click VPN (another click) then fi…

776 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