freetds AT lists.ibiblio.org
Subject: FreeTDS Development Group
List archive
- From: "Navdeep Shergill" <jatshergill AT gmail.com>
- To: "FreeTDS Development Group" <freetds AT lists.ibiblio.org>
- Subject: [freetds] Question about max size of a dbrpcparam
- Date: Wed, 1 Oct 2008 11:58:49 -0700
Hi
I am using v0.64RC2 of FreeTDS. I am trying to call a stored proc on
SQL2005 server that takes in a image parameter. Here is my logic..
dbrpcparam(ldbproc,"@id",0,SYBCHAR,-1,strID.length(),idB);
dbrpcparam(ldbproc, "@table"
,0,SYBCHAR,-1,strTable.length(),focusB);
dbrpcparam(ldbproc, "@name"
,0,SYBCHAR,-1,strFileName.length(),nameB);
dbrpcparam(ldbproc, "@title"
,0,SYBCHAR,-1,strTitle.length(),titleB);
dbrpcparam(ldbproc, "@update"
,0,SYBCHAR,-1,updateFlag.length(),updateB);
dbrpcparam(ldbproc,"@content"
,0,SYBIMAGE,-1,numbytes,(BYTE*)memArea);
dbrpcsend(ldbproc)
The image type is being fed with a byte pointer that holds the contents of a
file. This thing works file as long as the file is of a smaller size. I have
tried up to 30mb and it works fine. The problem happens when I try to pass
in files larger than 35mb+. In that case; the dbrpcsend fails with a generic
"Write to Sql Server Failed". My guess is that tds has a problem writing
35+mb out to the socket at once.
I was wondering if anyone else has encountered this type of problem and if
there is a solution?
Thanks!
-
[freetds] Question about max size of a dbrpcparam,
Navdeep Shergill, 10/01/2008
- Re: [freetds] Question about max size of a dbrpcparam, Navdeep Shergill, 10/08/2008
-
Re: [freetds] Question about max size of a dbrpcparam,
James K. Lowden, 10/08/2008
-
Re: [freetds] Question about max size of a dbrpcparam,
Navdeep Shergill, 10/09/2008
- Re: [freetds] Question about max size of a dbrpcparam, Navdeep Shergill, 10/09/2008
-
Re: [freetds] Question about max size of a dbrpcparam,
James K. Lowden, 10/09/2008
-
Re: [freetds] Question about max size of a dbrpcparam,
Navdeep Shergill, 10/09/2008
-
Re: [freetds] Question about max size of a dbrpcparam,
James K. Lowden, 10/09/2008
-
Re: [freetds] Question about max size of a dbrpcparam,
Navdeep Shergill, 10/09/2008
- Re: [freetds] Question about max size of a dbrpcparam, Navdeep Shergill, 10/13/2008
- Re: [freetds] Question about max size of a dbrpcparam, James K. Lowden, 10/13/2008
-
Re: [freetds] Question about max size of a dbrpcparam,
Navdeep Shergill, 10/09/2008
-
Re: [freetds] Question about max size of a dbrpcparam,
James K. Lowden, 10/09/2008
-
Re: [freetds] Question about max size of a dbrpcparam,
Navdeep Shergill, 10/09/2008
-
Re: [freetds] Question about max size of a dbrpcparam,
Navdeep Shergill, 10/09/2008
Archive powered by MHonArc 2.6.24.