Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

How to pass param of size more than 8000 char to a storedprocedure thru ADO.

20 views
Skip to first unread message

[1998]Gopakumar VR Namboothiri

unread,
Aug 27, 2010, 6:07:15 AM8/27/10
to
I have a stored procedure in SQL Server with only one param of type
XML and expecting large data say 100k->2MB.
But the Command->Execute is throwing exception when the size exceeds
8000 characters.

Code = 80040e21,Code meaning = IDispatch error #3105,Source =
Microsoft OLE DB Provider for ODBC Drivers,Description = [Microsoft]
[ODBC SQL Server Driver]String data, right truncation.

I tried it with varchar(max),ntext.. on SQL server 2000,2005 and 2008
with AppendChunk on Parameter. All throwing exception..

0 new messages