Solved

tool to format a sql query into a proper format

Posted on 2013-01-22
4
237 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
4 Comments
 
LVL 27

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

Three Reasons Why Backup is Strategic

Backup is strategic to your business because your data is strategic to your business. Without backup, your business will fail. This white paper explains why it is vital for you to design and immediately execute a backup strategy to protect 100 percent of your data.

Question has a verified solution.

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

In SQL Server, when rows are selected from a table, does it retrieve data in the order in which it is inserted?  Many believe this is the case. Let us try to examine for ourselves with an example. To get started, use the following script, wh…
How to leverage one TLS certificate to encrypt Microsoft SQL traffic and Remote Desktop Services, versus creating multiple tickets for the same server.
In this video, viewers will be given step by step instructions on adjusting mouse, pointer and cursor visibility in Microsoft Windows 10. The video seeks to educate those who are struggling with the new Windows 10 Graphical User Interface. Change Cu…
This tutorial will teach you the special effect of super speed similar to the fictional character Wally West aka "The Flash" After Shake : http://www.videocopilot.net/presets/after_shake/ All lightning effects with instructions : http://www.mediaf…

628 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