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

 All Forums
 General SQL Server Forums
 New to SQL Server Programming
 Select many records in one

Author  Topic 

joelseverich
Starting Member

34 Posts

Posted - 2008-07-21 : 18:17:04
Hi.
How can I select many records, I need many records to be selected into one string, Is there a way to do this.
Please help me

SwePeso
Patron Saint of Lost Yaks

30421 Posts

Posted - 2008-07-21 : 18:23:14
quote:
Originally posted by joelseverich

Is there a way to do this.
Yes.

See http://weblogs.sqlteam.com/jeffs/archive/2008/05/13/question-needed-not-answer.aspx



E 12°55'05.25"
N 56°04'39.16"
Go to Top of Page

madhivanan
Premature Yak Congratulator

22864 Posts

Posted - 2008-07-22 : 03:51:20
If you use SQL Server 2005, use
http://www.sqlteam.com/forums/topic.asp?TOPIC_ID=81254

Madhivanan

Failing to plan is Planning to fail
Go to Top of Page

visakh16
Very Important crosS Applying yaK Herder

52326 Posts

Posted - 2008-07-22 : 04:44:41
quote:
Originally posted by joelseverich

Hi.
How can I select many records, I need many records to be selected into one string, Is there a way to do this.
Please help me



http://www.projectdmx.com/tsql/rowconcatenate.aspx
Go to Top of Page
   

- Advertisement -