Re: foxpro view
- From: Erland Sommarskog <esquel@xxxxxxxxxxxxx>
- Date: Sun, 29 Jan 2006 15:22:43 +0000 (UTC)
stephanie (stephanie@xxxxxxxxxxxxxxxxxxxxxxxxx) writes:
> In the foxpro table, the 'cprodname' is C(30) and contain chinese
> characters and the view is
> SELECT c_type, portfolio, cprodname, prodname, dept, rptseq, expocat
> FROM OPENQUERY(ORS, 'select * from product')
>
> Any advise to solve it? Thanks in advance
Since I don't know Foxpro, I cannot give a complete answer. But I think
I understand what the message means. When SQL Server retrieves the metadata
for the table, it gets an answer of 30 characters, but when at run-time
there are 60 characters coming across the wires, it does not like that.
This may be a problem with the MSDASQL provider, or the FoxPro ODBC
driver. I would try Cindy's suggestion to use the Foxpro OLE DB Provider
instead.
--
Erland Sommarskog, SQL Server MVP, esquel@xxxxxxxxxxxxx
Books Online for SQL Server 2005 at
http://www.microsoft.com/technet/prodtechnol/sql/2005/downloads/books.mspx
Books Online for SQL Server 2000 at
http://www.microsoft.com/sql/prodinfo/previousversions/books.mspx
.
- References:
- Re: foxpro view
- From: Cindy Winegarden
- Re: foxpro view
- Prev by Date: Re: Null rowset
- Next by Date: Re: call a function using ado
- Previous by thread: Re: foxpro view
- Next by thread: Save ADP Connection to UDL -> Data Link file is inaccessible error
- Index(es):
Relevant Pages
|
Loading