Home Page for the TeradataForum
 

Archives of the TeradataForum

Message Posted: Thu, 07 Aug 2008 @ 21:51:17 GMT


     
  <Prev Next>   <<First <Prev Next> Last>>  


Subj:   Re: Teradata Perl Connection Question
 
From:   Tengli, Girish

I guess I missed that quote while writing in forum.

Actually I'm getting the connection error.

I commented out

     $sth = $dbh->prepare(
     $sth->execute()

I just have

     use strict;
     use DBI;

     my $dbh;
     my $sth;

     $dbh = DBI->connect('dbi:Teradata:AAAAAAAA', 'BBBBBBBB', 'XXXXXXXX') or
     die "Connecting : $DBI::errstr\n ";

Of course I provided AAAAAAAA, BBBBBBBB and XXXXXXXX

I'm getting this error.

     Cannot init, result is 510
     Use of uninitialized value in concatenation (.) or string at
     /usr/opt/perl/5.8.6/lib/sun4-solaris/DBD/Teradata.pm line 5078.


     
  <Prev Next>   <<First <Prev Next> Last>>  
 
 
 
 
 
 
 
 
  
  Top Home Privacy Feedback  
 
 
Copyright for the TeradataForum (TDATA-L), Manta BlueSky    
Copyright 2016 - All Rights Reserved    
Last Modified: 15 Jun 2023