Google Mail Calendar Documents Reader Web more »
Recently Visited Groups | Help | Sign in
Google Groups Home
looking for statement split tool
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  3 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Follow-up To:
Add Cc | Add Follow-up to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers that you hear
 
aspfun via SQLMonster.com  
View profile   Translate to Translated (View Original)
 More options 5 Nov, 15:50
Newsgroups: microsoft.public.sqlserver.programming
From: "aspfun via SQLMonster.com" <u53138@uwe>
Date: Thu, 05 Nov 2009 15:50:23 GMT
Local: Thurs 5 Nov 2009 15:50
Subject: looking for statement split tool
Very often, I need to split a long SQL statement into a few line for easier
reading.
Is there a function, store procedure or third party tool can do this job?
Using it, I can pass a long SQL statement as one string, setup the lenth of
line and will get a readable SQL statement.

--
Message posted via SQLMonster.com
http://www.sqlmonster.com/Uwe/Forums.aspx/sql-server-programming/2009...


    Reply    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message, you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Hugo Kornelis  
View profile   Translate to Translated (View Original)
 More options 6 Nov, 23:39
Newsgroups: microsoft.public.sqlserver.programming
From: Hugo Kornelis <h...@perFact.REMOVETHIS.info.INVALID>
Date: Sat, 07 Nov 2009 00:39:45 +0100
Local: Fri 6 Nov 2009 23:39
Subject: Re: looking for statement split tool

On Thu, 05 Nov 2009 15:50:23 GMT, aspfun via SQLMonster.com wrote:
>Very often, I need to split a long SQL statement into a few line for easier
>reading.
>Is there a function, store procedure or third party tool can do this job?
>Using it, I can pass a long SQL statement as one string, setup the lenth of
>line and will get a readable SQL statement.

Hi aspfun,

Maybe this site helps: http://www.sqlinform.com/

(And then choose the "try it online" option).

--
Hugo Kornelis, SQL Server MVP
My SQL Server blog: http://sqlblog.com/blogs/hugo_kornelis


    Reply    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message, you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Eric Isaacs  
View profile   Translate to Translated (View Original)
 More options 6 Nov, 23:49
Newsgroups: microsoft.public.sqlserver.programming
From: Eric Isaacs <eisa...@gmail.com>
Date: Fri, 6 Nov 2009 15:49:28 -0800 (PST)
Local: Fri 6 Nov 2009 23:49
Subject: Re: looking for statement split tool
SQL Prompt from Red-Gate.com is an awesome tool for reformatting your
SQL to make it more readable.  It adds intellisense functionality to
SQL Server 2000 and 2005 (2008 has it built-in) as well as the
reformatting options.  The reformatting is a huge reason why we use
it, so that all our SQL from all our developers uses a similar format
and each developer gets used to the standardized format.

Well formatted SQL is much easier to read, debug, and maintain and
there isn't anything built into SSMS to help with this.

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

-Eric Isaacs


    Reply    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message, you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »

Create a group - Google Groups - Google Home - Terms of Service - Privacy Policy
©2009 Google