Quantcast
Channel: t-sql question
Browsing all 4 articles
Browse latest View live

t-sql question

I want to take the column values and make it comma separated by enclosing in the [], below is the expected output: [Order No_],[PO No_],[Cust_ No_],[Vend_ No_]Please help.Here is the sample data:...

View Article



t-sql question

Hi there,Here you can find som ways of achiving that:http://www.simple-talk.com/sql/t-sql-programming/concatenating-row-values-in-transact-sql/José Cruz

View Article

t-sql question

This is one way:SELECT STUFF(                 (SELECT ','+QUOTENAME(Col1)                FROM #Temp                FOR XML PATH(''))              ,1,1,'')--Brad (My Blog)

View Article

t-sql question

I want to take the column values and make it comma separated by enclosing in the [], below is the expected output:[Order No_],[PO No_],[Cust_ No_],[Vend_ No_]Please help.Here is the sample data:Create...

View Article
Browsing all 4 articles
Browse latest View live




Latest Images