Please start any new threads on our new site at http://forums.sqlteam.com. 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!
Username:
Password:
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  

desikankannan
Posting Yak Master

India
152 Posts

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

Hi,

i have 50 lines of select statement
example

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,_




Desikankannan

webfred
Flowing Fount of Yak Knowledge

Germany
8781 Posts

Posted - 12/01/2010 :  12:28:17  Show Profile  Visit webfred's Homepage  Reply with Quote
No.
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

visakh16
Very Important crosS Applying yaK Herder

India
52326 Posts

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

------------------------------------------------------------------------------------------------------
SQL Server MVP
http://visakhm.blogspot.com/

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.09 seconds. Powered By: Snitz Forums 2000