The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.


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 for detailed information.

NOTE: This version has been deprecated in favor of the more complete and maintained GPL version available at


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/ <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/ 129.123.345.78 dbc dbc   # WRONG

        perl t/ DBCCOP1 dbc dbc          # WRONG

        perl t/ DBC dbc dbc              # RIGHT!

Building For Microsoft Windows

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    # use a perl that's in your PATH
    nmake install

Building For UNIX/Linux

    perl    # use a perl that's in your PATH
    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

Bug reports/Comments/suggestions/enhancement requests may be sent to

Please note: This free version of DBD::Teradata is a minimal implementation of the commercially supported version. Refer to 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          for announcements               for developer/maintainer discussions             for end user level discussion and help

Refer to 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.