DBD::Teradata - DBI driver for Teradata
use DBI; $dbh = DBI->connect('dbi:Teradata:hostname', 'user', 'password');
See DBI for more information.
Refer to the included doc/index.html, or http://www.presicient.com/tdatdbd for detailed information.
NOTE: This version has been deprecated in favor of the more complete and maintained GPL version available at http://www.presicient.com/tdatdbd.
Install Perl (minimum version 5.8).
Build, test and install the DBI module (minimum version 1.36).
Remember to *read* the DBI README, this README, and the included doc/index.html CAREFULLY!
I had a lot of info to distill, and POD, though quaint and convenient for READMEs like this, just isn't as expressive as HTML...hence doc/index.html. Please refer to doc/index.html for detailed usage information.
The provided test suite is not suitable for normal Perl "make test", as it requires a Teradata database and a username and password for an account with various privileges (e.g., CREATE PROCEDURE).
After installing, you can verify the install by running
perl t/test.pl <host> <user> <password>
where <host> is the name of your Teradata server. NOTE that CLI does NOT support numeric IP addresses, nor addresses with the COPn suffix already applied, i.e.,
perl t/test.pl 129.123.345.78 dbc dbc # WRONG perl t/test.pl DBCCOP1 dbc dbc # WRONG perl t/test.pl DBC dbc dbc # RIGHT!
You'll need the nmake utility, available with the various Visual Studio tools. You'll also need to make sure your command prompt is configured to find nmake; see the Visual Studio documents for how to do that.
To build:
perl Makefile.pl # use a perl that's in your PATH nmake nmake install
perl Makefile.pl # use a perl that's in your PATH make make install
Please read the doc/index.html file which includes important information, including tips and workarounds for various platform-specific problems.
For the latest DBD::Teradata information, please see http://www.presicient.com/tdatdbd.html.
Bug reports/Comments/suggestions/enhancement requests may be sent to mailto:support@presicient.com.
Please note: This free version of DBD::Teradata is a minimal implementation of the commercially supported version. Refer to http://www.presicient.com/tdatdbd for details on the differences.
As a user or maintainer of a local copy of DBD::Teradata, you need to be aware of the following addresses:
The DBI mailing lists located at
dbi-announce@perl.org for announcements dbi-dev@perl.org for developer/maintainer discussions dbi-users@perl.org for end user level discussion and help
Refer to http://dbi.perl.org/support/ for details on subscribing to these lists.
Copyright(C) 2001-2007, Presicient Corporation, USA. All rights reserved.
Permission is granted to use this software according to the terms of the Perl Artistic License, as specified in the Perl README file, with the exception that commercial redistribution, either electronic or via physical media, as either a standalone package, or incorporated into a third party product, requires prior written approval of the copyright holder.
This software is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
Presicient Corp. reserves the right to provide support for this software to individual sites under a separate (possibly fee-based) agreement.
Teradata(R) is a registed trademark of NCR Corporation.
To install DBD::Teradata, copy and paste the appropriate command in to your terminal.
cpanm
cpanm DBD::Teradata
CPAN shell
perl -MCPAN -e shell install DBD::Teradata
For more information on module installation, please visit the detailed CPAN module installation guide.