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
Optimal page-pool size, registry size, and IRPStackSize for a Windows 2000 Server
Visual Studio 2008 SP1 Install Issue
Windows SharePoint Services Search Required on Farm, not running Stopping
How do I setup a VPN site to site tunnel between a linksys VPN router and ISA server 2006?
Install a CA on Windows Server 2008 R2 Server Core
fax from a network
Dynamic Enumerate items procedure
70XX Event ID's causing a very slow login
vLite Won't Launch
How to fix Time on PC not matching network?