pivot - Matrix Transpose TSQL -


Can we move the matrix in standard SQL2005 / 2008 (rows, column and column rows are formed)?

 1 2 3 4 5 4 6 6 7 7 8 9 8 9 1 3 4 5 6 2 4 5 6 7 

Change in

 1 4 7 1 2 2 5 8 3 4 3 6 9 5 6 4 6 8 5 6 5 7 9 7 

How about any of the rows & lt; & Gt; None of the columns?

Let's consider the number of rows that have not been set.

You may want to reformat your question, but a change in your data is easy Create:

  Create table matrix (row int, column int no zero, value & lt; datatype & gt; not tap) as row selection column, row in column form, matrix Value  

Comments

Popular posts from this blog

windows - Heroku throws SQLITE3 Read only exception -

lex - Building a lexical Analyzer in Java -

python - rename keys in a dictionary -