Microsoft
Software
Hardware
Network
Question : Perl SQL Server error - SQL-01004
Well,
I wrote a simple Perl program to read from one table, one record at a time. Process, then insert into another.
Got SQL-01004 error when read a particular row.
--------------------------
DBD::ODBC::st fetchrow_array failed: [Microsoft][ODBC SQL Server Driver]String data, right truncation (SQL-01004) at Y:\work\cp\scripts\DataSto
re\load
DiagnosisLabIntegrate.pl line 32.
--------------------------
How do I fix this?
Answer : Perl SQL Server error - SQL-01004
I answered me own question. Yay!.
I set
$dbh->{LongReadLen} = 20480;
$dbh->{LongTruncOk} = 1;
and it works.
Random Solutions
using SetJob function to change a Print jobs proerties
How do I perform a calculation in an update query?
checking if a table exists
Getting the data from a comma delimited string using SQL Query
Trust Center default
SharePoint (WSS 3) access via UNC path
UNION QUERY WITH DATE PARAMETERS
Connection problems after Virtualization, maybe Same SID?
Subreport within a subreport
Vista stays at Welcome screen