Hi All,

I insert/update records by building the SQL statement in a variable and 
then do a EXECSCRIPT() on that variable.
But if any string goes beyond the 255 character limit (to insert/update 
a memo field), then it fails.

for eg
this works
lcsql="UPDATE BRTRAN SET NOTES="
lcsql=lcsql+'['
lcsql=lcsql+REPLICATE("A",255)
lcsql=lcsql+']'
lcsql=lcsql+" WHERE SPK='0492JKWD  '"

this does not
lcsql="UPDATE BRTRAN SET NOTES="
lcsql=lcsql+'['
lcsql=lcsql+REPLICATE("A",256)
lcsql=lcsql+']'
lcsql=lcsql+" WHERE SPK='0492JKWD  '"

Is there any solution or a different approach this problem.

Sincerely,

_Ajit Abraham



__________________________________________________
D O T E A S Y - "Join the web hosting revolution!"
             http://www.doteasy.com


_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/profox
OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: http://leafe.com/archives/byMID/profox/[EMAIL PROTECTED]
** All postings, unless explicitly stated otherwise, are the opinions of the 
author, and do not constitute legal or medical advice. This statement is added 
to the messages for those lawyers who are too stupid to see the obvious.

Reply via email to