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
How to prevent duplicate records from being entered in Db.
.BFK file restore on windows 7
sql server 2005 no services empty list
refreshing tree view
IIS 6 to IIS 7 with Classic ASP Support
Callback function error in On Action of a toolbar command
how do you close x2 winforms programmically
windows xp privilidge problem
How to restore missing sort / filter menu in Access 2007 runtime version
how can i delete a post on OCS Group Chat server?