in reply to Re: Unable to retrieve field which has more than 255 chars
in thread Unable to retrieve field which has more than 255 chars
This is my code:
my $dbiConn="DBI:Sybase:server=$prop{dbHost}:1433";
my $db=DBI->connect($dbiConn,$prop{dbUser},$prop{dbPwd});
my $sqlSt="select FilesTransfered,transactionDate from CDProcessTransaction where processname = '$prop{process}'";
my $recordSet=$db->prepare($sqlSt);
$recordSet->execute( );
while (my @rValue=$recordSet->fetchrow_array)
{
print OUT "Files: @rValue\n";
}
If length of field "FilesTransfered" is more than 255 characters, its truncated. This field contains the filenames processed (sometimes upto 20 filenames where it exceeds more than 255 chars)
.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Unable to retrieve field which has more than 255 chars
by choroba (Cardinal) on Mar 07, 2012 at 09:59 UTC | |
|
Re^3: Unable to retrieve field which has more than 255 chars
by JavaFan (Canon) on Mar 07, 2012 at 10:20 UTC | |
|
Re^3: Unable to retrieve field which has more than 255 chars
by remiah (Hermit) on Mar 07, 2012 at 12:02 UTC | |
by Anonymous Monk on Mar 07, 2012 at 12:40 UTC |