good chemistry is complicated, and a little bit messy -LW |
|
PerlMonks |
Re^12: Database processingby DrAxeman (Scribe) |
on Aug 06, 2005 at 17:13 UTC ( [id://481521]=note: print w/replies, xml ) | Need Help?? |
This is great! One more question. Part of my "pre-processing" requires me to open the csv files in OpenOffice. I'd like to eliminate this piece. The major piece of this is making sure the data is converted into decimal. There is a module Data::Types that will allow me to conver to decimal. See http://search.cpan.org/~dwheeler/Data-Types-0.05/lib/Data/Types.pm I'm not sure how to write the loop that will convert all the data into decimal. I'd also like to be able to delete some columns that are not needed, like the first one, and any that's header contains MSTCPLoopback, or columns whose header ends with Bandwidth. I am trying to use the ALTER statement but it's not found. Or would it be better to just skip the columns while we are processing them?
In Section
Seekers of Perl Wisdom
|
|