Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

Re^12: Database processing

by DrAxeman (Scribe)
on Aug 06, 2005 at 17:13 UTC ( [id://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?

Replies are listed 'Best First'.
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
Domain Nodelet?
Node Status?
node history
Node Type: note [id://481521]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others browsing the Monastery: (5)
As of 2024-04-24 20:00 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found