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
 SQL Server 2008 Forums
 Transact-SQL (2008)
 Combine returns

Author  Topic 

baze7
Yak Posting Veteran

58 Posts

Posted - 2011-01-31 : 11:13:18
This will return multiple spc.notescontent, how can I combine to a single return? Example it will return

notes1
notes2

and I want notes1 notes2

SELECT
spc.NoteContent
FROM ObjectNotes obn
INNER JOIN NoteHeaders nth ON nth.NoteHeaderToken = obn.NoteHeaderToken
LEFT OUTER JOIN SpecificNotes spc ON spc.SpecificNoteToken = obn.SpecificNoteToken
where obn.RefRowPointer = 'E4A0AF28'

Thanks!

nathans
Aged Yak Warrior

938 Posts

Posted - 2011-01-31 : 18:20:04
Please see: http://www.sqlteam.com/forums/topic.asp?TOPIC_ID=81254

Nathan Skerl
Go to Top of Page
   

- Advertisement -