PEPPLER.ORG
Michael Peppler
Sybase Consulting
Menu
Home
Sybase on Linux
Install Guide for Sybase on Linux
General Sybase Resources
General Perl Resources
Freeware
Sybperl
Sybase::Simple
DBD::Sybase
BCP Tool
Bug Tracker
Mailing List Archive
Downloads Directory
FAQs
Sybase on Linux FAQ
Sybperl FAQ
Personal
Michael Peppler's resume

sybperl-l Archive

Up    Prev    Next    

From: "Denis J dot O'Connell" <denis at natural dot com>
Subject: Re: Problem with large text fields
Date: Jan 31 1996 7:44PM

 > I think that this is the problem. I've had cases where passing a 
> single very large buffer to dbcmd() (in C) did not work (ie the buffer 
> got truncated at 1024, or maybe 2048 bytes). 
>  
> You can verify this by turning SQL logging on (see &dbrecftos()) 
> and examining the output. If this is indeed the problem then you can 
> solve it simply by calling dbcmd() for each parameter of the %in hash, 
> for example. 
>  

Michael,
	This seemed to be the problem.  I am now checking for large text and 
sending them in pieces if they are over a certain size, and the problems I had 
before are gone. Thanks to all who tried to help me with this problem!  
Thanks again,
Denis 


        Denis J. O'Connell       \_  \_  \_       denis@natural.com
  Natural Intelligence, Inc.     \_\_\_  \_       tel (617) 876-7680 x1257
                                 \_ \__  \_       fax (617) 492-7425
                                 \_  \_  \_