Re: location of config parameter?

"James K. Lowden" <[email protected]>
Newsgroups gmane.comp.db.tds.freetds
Message-ID <[email protected]>
On Thu, 15 Dec 2011 16:19:30 +0100
<[email protected]> wrote:

> I see it in my log file:
> dblib.c:1454:dbcmd(0xc71780, exec creerFede
> @LOGIN='3D1HfSkzgRZva_uT_TheSg==',
> @ID_SERVICEPROVIDER_TECHNIQUE='http://ts_saml2.msp.gouv.fr',
> @ID_SERVICEPROVIDER_FONCTIONNEL='http://ts_saml2.msp.gouv.fr',
> @ID_TYPE_FEDERATION=1)
> 
> I get an error in answer:
> dbutil.c:86:msgno 103: "The identifier that starts with
> '@ID_SERVICEPROVIDER_FONCTIONNE' is too long. Maximum length is 30."
> 
> Does anyone know where to configure the size of this parameter?
> I am using free-tds-dev0.92.

What version of TDS are you using?  My TDS 7.0 connection lets me use
long parameter names in stored procedures.  I changed the parameter
in src/dblib/unittests/rpc.c  from "@c" to
"@c_this_name_is_way_more_than_thirty_characters_charlie", and the
program still works.   

--jkl
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.