Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Fomatting a Query

Posted on 2008-10-03
1
Medium Priority
?
196 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 1000 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

Prepare for your VMware VCP6-DCV exam.

Josh Coen and Jason Langer have prepared the latest edition of VCP study guide. Both authors have been working in the IT field for more than a decade, and both hold VMware certifications. This 163-page guide covers all 10 of the exam blueprint sections.

Question has a verified solution.

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

So every once in a while at work I am asked to export data from one table and insert it into another on a different server.  I hate doing this.  There's so many different tables and data types.  Some column data needs quoted and some doesn't.  What …
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…
Want to learn how to record your desktop screen without having to use an outside camera. Click on this video and learn how to use the cool google extension called "Screencastify"! Step 1: Open a new google tab Step 2: Go to the left hand upper corn…
In a question here at Experts Exchange (https://www.experts-exchange.com/questions/29062564/Adobe-acrobat-reader-DC.html), a member asked how to create a signature in Adobe Acrobat Reader DC (the free Reader product, not the paid, full Acrobat produ…

886 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