Re: Transpose row into column
I need to normalize a mysql table that has 500 plus fields,and 300 plus records so would like to run a sql statement to extract specific columns of data from this table and create then put it into a new table,
current table name stockvalving
fields to be copied, record_id fcd1qty fcd2qty fcd3qty
data 1 4 3 6
new table name stockvalvingqty
field record_id qty fcdnum
1 4 1
1 3 2
1 6 3
this is just a small number of the fields that need to be moved
Thanks
Rob
Subject
Views
Written By
Posted
57177
April 21, 2005 01:25AM
29157
April 23, 2005 11:23PM
25840
April 24, 2005 11:32PM
42732
May 12, 2005 05:26AM
24828
November 21, 2005 10:16AM
18339
October 09, 2006 01:46AM
Re: Transpose row into column
21407
January 04, 2007 05:03PM
Sorry, you can't reply to this topic. It has been closed.
Content reproduced on this site is the property of the respective copyright holders.
It is not reviewed in advance by Oracle and does not necessarily represent the opinion
of Oracle or any other party.