Re: SP parameter cannot return more than 256 chars

Frediano Ziglio <[email protected]>
Newsgroups gmane.comp.db.tds.freetds
Message-ID <1228062128.7784.7.camel@freddy>
Il giorno dom, 30/11/2008 alle 10.57 -0500, Federico Alves ha scritto:
> Freetds has a bug or a limitation 
> I execute this query on tsql:
> "declare @iplist varchar(512),@z int exec tempdb.dbo.sip_redirect 44,
> @iplist out, @z out select @iplist,@z"
>  but I only get back the first 256 characters on the variable @iplist, the
> rest is ignored, but I need the full 512 or more characters. How can we fix
> this limitation?
> I use the latest stable version. Parameter passing should be limited I guess
> to 64 K if possible.
> 

Hi,
  are you sure you are using the proper protocol version ?? I got
correct reply using 8.0 and 7.0, not using 4.2.

freddy77
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.