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
VBA using Search Worksheet Function to Find Question Marks (Tilde)
Changing Domain Controller IP Address
IIS 7.0 Worker process crashes due to ODP.NET?
Do I have to select a predefined Identity field when using the SELECT INTO clause in a SQL Server stored procedure ?
User name grayed out in SQL Server 2005 Server Management Studio
In Access how can i have a value returned based on a value present.
interop.microsoft.office.c<wbr />ore.dll.
MBOX TO PST
Email Address in Outlook express
ODBC connection to Oracle 9 db trough Cisco VPN and ISA