
ADO SQL Server update of long strings
SQL Server 2000 SP1
I heard there was some sort of memory leak bug with
strings over 16k. I'm gonna research it, but strangely
enough, when I pared down the length of the enbedded sql
statement, ie.
"update mytable set notes=trim(" & left
(txtnotes.text,1000) & " where ..."
It could only use 1000, not one byte more.
Quote:
>-----Original Message-----
>Hi,
>It could be a limit on length of query. Which version of
SQL Server are you
>using?
>--
>Val Mazur
>Microsoft MVP
message
>> I am performing an embedded SQL update of a record that
>> has a 3000 byte column within it. The update fails with
>> the message
>> "String or binary data would be truncated."
>> I finally got the update statement to succeed when a cut
>> downn the string to 1000 bytes.
>> Does anybody know why this is happening?
>.