Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things

Re^2: How to connect to netezza database

by Anonymous Monk
on Jan 06, 2014 at 18:02 UTC ( #1069556=note: print w/replies, xml ) Need Help??

in reply to Re: How to connect to netezza database
in thread How to connect to netezza database

You use the generic ODBC DBI modules. Follow the ODBC drivers install guide from Netezza to install their drivers and an ODBC Manager if you're on Linux or Unix. Then setup DBI::ODBC on your system. Then connect and execute using the DBI interface just like you would any other vendor. Pass the user, password, database, and sql. I've gotten data back as single digit, a row, or an 2Darray depending on what you assign as the return value. If I'm going to dump data out to a file, I bypass the DBI output and instead use an external table to a file because that's much faster. nzload to load. You can also use system(nzsql) to use the nzsql interface if you're just looking for success/fail output or a running something long term that may exeed the odbc timeout limitations.
  • Comment on Re^2: How to connect to netezza database

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1069556]
[Corion]: marto: No, a Sun Balcony, it was an ill-fated attempt to revive the Sparc series after the Pizzabox :)
[marto]: ah Sun, I sold my Pizzabox in around 2005
[Corion]: I used one at $work as a terminal, but those days are long gone by ;)
[marto]: I have an old IBM infowindow terminal to repurpose, I'll just wire a raspberry piz zero to the cable, providing access and wiFi :P
[marto]: the kids will love it
[Corion]: marto: Hehe ;) I've been toying with the idea of soldering an USB (-C) hub into a keyboard and making it a computer by slotting my phone into that :)

How do I use this? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (7)
As of 2018-03-21 11:20 GMT
Find Nodes?
    Voting Booth?
    When I think of a mole I think of:

    Results (267 votes). Check out past polls.