Re: Linked Server - Force Translate
From: Claude (Claude_at_discussions.microsoft.com)
Date: 02/21/05
- Previous message: Erland Sommarskog: "Re: Linked Server - Force Translate"
- In reply to: Erland Sommarskog: "Re: Linked Server - Force Translate"
- Next in thread: Erland Sommarskog: "Re: Linked Server - Force Translate"
- Reply: Erland Sommarskog: "Re: Linked Server - Force Translate"
- Messages sorted by: [ date ] [ thread ]
Date: Sun, 20 Feb 2005 19:59:01 -0800
Thanks Erland,
At first I created it through Enterprise Manger.
After your post, I created it with :
exec sp_addlinkedserver 'JDE',
'',
'IBMDA400',
'Betty',
'',
'Protection Level=None;Force Translate=0;Cursor Sensitivity=3;Initial
Catalog="";Transport Product=Client Access;Catalog Library
List=JDFADAT;Default Collection="";Convert Date Time To Char=TRUE;Extended
Properties="";SSL=DEFAULT;Provider=IBMDA400.DataSource.1',
''
It seem to ignore the Force Translate=0 and still returns binary. Any
suggestions ?
"Erland Sommarskog" wrote:
> Claude (Claude@discussions.microsoft.com) writes:
> > I have created a linked server using the "IBM DB2 UDB for iSeries for
> > OLE DB Provider" and query it with OPENQUERY. All numeric and date
> > fields come thru successfully however all text is returned as binary
> > values. I had the same issue when using a connection string with same
> > provider which was resolved when I set the Force translate to False.
> >
> > How can I set the Linked server to not translate ?
>
> You can specify a connection string when you define your linked server,
> see sp_addlinkedserver in Books Online for details.
>
> You can also use OPENROWSET and specify a connection string with it.
>
>
> --
> Erland Sommarskog, SQL Server MVP, esquel@sommarskog.se
>
> Books Online for SQL Server SP3 at
> http://www.microsoft.com/sql/techinfo/productdoc/2000/books.asp
>
- Previous message: Erland Sommarskog: "Re: Linked Server - Force Translate"
- In reply to: Erland Sommarskog: "Re: Linked Server - Force Translate"
- Next in thread: Erland Sommarskog: "Re: Linked Server - Force Translate"
- Reply: Erland Sommarskog: "Re: Linked Server - Force Translate"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|