P
pareshgoyal
Hi,
I have following data in Excel.
Code GPH SSD MVX ... CS150 (150 cols appx. with no fix col. names)
B103 0 1 0 ...... 1 ( If yes then 1 otherwise 0)
B336 1 0 1 ...... 0
....
....
and so on....for around 400 rows.
I'll port this data to Access / SQL server 2000.
Now I want to get those data as follows -
Code CSCode
B103 SSD
B103 CS150
B336 GPH
B336 MVX
2 rows for Code B103 & 2 Rows B336....if more CSCodes are set as Yes
then....those many rows should appear in the output for each Code.
Can anyone suggest any query.
Regards,
Paresh....
I have following data in Excel.
Code GPH SSD MVX ... CS150 (150 cols appx. with no fix col. names)
B103 0 1 0 ...... 1 ( If yes then 1 otherwise 0)
B336 1 0 1 ...... 0
....
....
and so on....for around 400 rows.
I'll port this data to Access / SQL server 2000.
Now I want to get those data as follows -
Code CSCode
B103 SSD
B103 CS150
B336 GPH
B336 MVX
2 rows for Code B103 & 2 Rows B336....if more CSCodes are set as Yes
then....those many rows should appear in the output for each Code.
Can anyone suggest any query.
Regards,
Paresh....