Solved

Fomatting a Query

Posted on 2008-10-03
1
189 Views
Last Modified: 2012-05-05
Im using SQL Server Management Studio 2005 to develop queries.

When I develop queries I usually forget to fomat them and lay them out properly so they are readable.

Are there any tools in Studio 2005 that will format the queries and lay them out automatically or is there a website out  there that shows how a query should be layed out

Thanks
0
Comment
Question by:halifaxman
1 Comment
 
LVL 60

Accepted Solution

by:
chapmandew earned 250 total points
ID: 22633307
nothing native to sql server or ssms, but you can try out a product from red-gate that does wonders for this sort of thing...its called SQL Refactor.

http://www.red-gate.com/products/SQL_Refactor/index.htm
0

Featured Post

Optimizing Cloud Backup for Low Bandwidth

With cloud storage prices going down a growing number of SMBs start to use it for backup storage. Unfortunately, business data volume rarely fits the average Internet speed. This article provides an overview of main Internet speed challenges and reveals backup best practices.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
OPENDATASOURCE 8 42
Help with SQL joins 9 54
SQL Express connecting form remote error 26 7 52
Can Unique column have more than one Null? 8 54
If you having speed problem in loading SQL Server Management Studio, try to uncheck these options in your internet browser (IE -> Internet Options / Advanced / Security):    . Check for publisher's certificate revocation    . Check for server ce…
Use this article to create a batch file to backup a Microsoft SQL Server database to a Windows folder.  The folder can be on the local hard drive or on a network share.  This batch file will query the SQL server to get the current date & time and wi…
Although Jacob Bernoulli (1654-1705) has been credited as the creator of "Binomial Distribution Table", Gottfried Leibniz (1646-1716) did his dissertation on the subject in 1666; Leibniz you may recall is the co-inventor of "Calculus" and beat Isaac…

828 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