The exact output of the above code will depend on the configuration of your system. # List the ODBC data sources (DSNs) defined on the system # See if DBD::ODBC is installed by searching driver array. # Eval was successful, so DBI is installed # The eval failed, so DBI must not be installed # script from erroring out if DBI is not installed. # Attempt to load the DBI module in an eval using require. You can test whether it is installed by executing the following command on the Linux or Windows command line: Later versions of DBI and DBD::ODBC may also work.ĭBI is installed by default with many Perl installations. Vertica supports the following Perl modules: These modules communicate with iODBC/unixODBC driver on UNIX operating systems or the ODBC Driver Manager for Windows operating systems. The Perl Driver Modules (DBI and DBD::ODBC)īefore you can connect to Vertica using Perl, your Perl installation needs to have the Perl Database Interface module (DBI) and the Database Driver for ODBC (DBD::ODBC).
0 Comments
Leave a Reply. |