Please start any new threads on our new
site at https://forums.sqlteam.com. We've got lots of great SQL Server
experts to answer whatever question you can come up with.
Author |
Topic |
Srain
Starting Member
23 Posts |
Posted - 2010-12-30 : 07:02:39
|
Hi All, I have the table and the values are defined as below: IntDate Data2010-12-05 00:00:00.000 12.32010-12-05 00:15:00.000 12.52010-12-05 00:30:00.000 12.82010-12-05 00:45:00.000 13.12010-12-05 01:00:00.000 13.72010-12-05 01:15:00.000 13.92010-12-05 01:30:00.000 142010-12-05 01:45:00.000 15And I would like to have the select or the view statement to return the following Int1 Int2 Int3 Int4 Data1 Data2 Data3 Data42010-12-05 00:00:00.000 2010-12-05 00:15:00.000 2010-12-05 00:30:00.000 2010-12-05 00:45:00.000 12.3 12.5 12.8 13.12010-12-05 01:00:00.000 2010-12-05 01:15:00.000 2010-12-05 01:30:00.000 2010-12-05 01:45:00.000 13.7 13.9 14 15 So I want to convert from columns to rows Thanks in advance, |
|
Sachin.Nand
2937 Posts |
Posted - 2010-12-30 : 09:16:11
|
Are you using any reporting tool to show the data ?PBUH |
 |
|
|
|
|