DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR SQL
convert multiple columns to ROws in sql server
select * from yourTable unpivot ( Value for NewCol in (Value1, Value2, Value3,Value4, Value5) ) up
Source by stackoverflow.com #
PREVIOUS
NEXT
Tagged:
#convert
#multiple
#columns
#ROws
#sql
#server
ADD COMMENT
Topic
COMMENT
Name
2+6 =
Submit