Is it possible to write a script that would automatically transpose alot of columns into rows?

188 records, each with average of 5 columns to transpose in preparation for import into relational database...

or shall i just get clicking, copying, pasting?

Thanks!!