Please start any new threads on our new site at We've got lots of great SQL Server experts to answer whatever question you can come up with.

Our new SQL Server Forums are live! Come on over! We've restricted the ability to create new threads on these forums.

SQL Server Forums
Profile | Active Topics | Members | Search | Forum FAQ
Register Now and get your question answered!
Save Password
Forgot your Password?

 All Forums
 SQL Server 2005 Forums
 Transact-SQL (2005)
 select statement in side sp
 Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

Posting Yak Master

152 Posts

Posted - 12/01/2010 :  12:25:23  Show Profile  Send desikankannan a Yahoo! Message  Reply with Quote


i have 50 lines of select statement

below i try to split my statment like this ,can it work?

select fldguagekey,fldguagecode,fldguagename,fldguageidnum,_
fldguagewrlimit,fldimsizego,fldimsizenogo,guagetype,(select descvalue from Mst_Desc where DescKey = guagetype) as gugetypename,_


Flowing Fount of Yak Knowledge

8781 Posts

Posted - 12/01/2010 :  12:28:17  Show Profile  Visit webfred's Homepage  Reply with Quote
Just a hit return for a new line and keep on typing.

No, you're never too old to Yak'n'Roll if you're too young to die.
Go to Top of Page

Very Important crosS Applying yaK Herder

52326 Posts

Posted - 12/01/2010 :  13:06:34  Show Profile  Reply with Quote
which editor are you using?

SQL Server MVP

Go to Top of Page
  Previous Topic Topic Next Topic  
 Reply to Topic
 Printer Friendly
Jump To:
SQL Server Forums © 2000-2009 SQLTeam Publishing, LLC Go To Top Of Page
This page was generated in 0.02 seconds. Powered By: Snitz Forums 2000