Search this insane blog:

Wednesday, August 6, 2008

T-SQL to .NET page: output data, having it concatenated

declare @MyString output nvarchar(500),
@delimiter char(1),

@string1 char(4), @string2, char(4)
set @delimiter = ','
select @Mystring =
@string1 + @delimiter + @string2

---
Then you can parse out the data using an array/ code behind.

No comments:

Post a Comment