Pivot a table that has no numeric values that can be used to aggregate its columns with.
I have a table like this... CustomerID DBColumnName Data -------------------------------------- 1 FirstName Joe 1 MiddleName S 1 LastName Smith 1 Date 12/12/2009 2 FirstName Sam 2 MiddleName …
sql sql-server tsql pivot pivot-without-aggregateI have an interesting conundrum which I believe can be solved in purely SQL. I have tables similar to the …
sql postgresql pivot pivot-without-aggregateI have a table like this: create table t1 { person_id int, item_name varchar(30), item_value varchar(100) }; Suppose person_…
sql transform pivot pivot-without-aggregateHow to transform this: ID Name Description 1 Test1a TestDesc1a 1 Test1b TestDesc1b 2 Test2a TestDesc2a 2 Test2…
sql sql-server-2008-r2 pivot pivot-without-aggregateI know you've got multiple topics touching on this. But, I havent found one that addressed my needs. I need …
sql sql-server-2008 pivot pivot-without-aggregate