Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Re^12: Database processing

by DrAxeman (Beadle)
on Aug 06, 2005 at 17:13 UTC ( #481521=note: print w/ replies, xml ) Need Help??


in reply to Re^11: Database processing
in thread DBI::st=HASH output

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?


Comment on Re^12: Database processing
Re^13: Database processing
by davidrw (Prior) on Aug 06, 2005 at 19:27 UTC

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://481521]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others romping around the Monastery: (13)
As of 2014-07-31 18:49 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite superfluous repetitious redundant duplicative phrase is:









    Results (251 votes), past polls