I have come across this a few times and was wondering how some of you would 
attack it.

I have a table that looks like this


uniqueID   q1 q2 q3 ... q50

In reality the table should look like this

uniqueID   studentID  answer   qid


I need it to have multiple records so I can do a join on a table that holds the 
answer which is written as a table with multiple records as opposed to a table 
with multiple columns.I know I can accomplish this in coldfusion. The way I did 
it was to query the big table, then create a structure so each column was in a 
structure. What would you have done?



Bob

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:234411
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to