Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Linkserver with a photo field
Message
From
24/08/2008 10:17:26
 
 
To
23/08/2008 10:28:14
Issam Mansour
Jordan Business Machines
Amman, Jordan
General information
Forum:
Microsoft SQL Server
Category:
SQL syntax
Environment versions
SQL Server:
SQL Server 2005
Miscellaneous
Thread ID:
01341322
Message ID:
01341371
Views:
16
See if any of these options help:

Re: Picture Message #600012
and
http://doughennig.blogspot.com/2006/07/sqlxmlbulkload-rocks.html


>Hi,
>
>I have create a linkserver to read a vfp file with a photo field, the name and file STRUCTURE of vfp as follows:-
>
>/*
>ITEMPHOTO TABLE STRUCTURE
> VFP: (ITEM_NO CHAR(10),ITEMPHOTO GENERAL)
> SQL: (ITEM_NO CHAR(10),ITEMPHOTO IMAGE)
>*/
>
>The link server as follows:-
>
>--EXEC SP_ADDLINKEDSERVER
>-- @SERVER = N'FOX2', -- YOUR LINKED SERVER NAME HERE
>-- @SRVPRODUCT=N'VISUAL FOXPRO 9', -- CAN BE ANYTHING
>-- @PROVIDER=N'VFPOLEDB',
>-- @DATASRC=N'"C:\BTM\123\DATA1.DBC"'
>--EXEC SP_ADDLINKEDSRVLOGIN 'FOX2'
>
>After the server is created i checked to read the file without the photo field it is he read the file with no error, but with the photo field i have the below error :-
>
>SELECT item_no,photo FROM OPENQUERY(FOXPRO,'SELECT item_no,photo FROM ITEMPHOTO')
>the error message as follows:-
>
>Msg 7399, Level 16, State 1, Line 1
>The OLE DB provider "VFPOLEDB" for linked server "FOXPRO" reported an error. The provider ran out of memory.
>Msg 7330, Level 16, State 2, Line 1
>Cannot fetch a row from OLE DB provider "VFPOLEDB" for linked server "FOXPRO".
>
>
>best regards
.·*´¨)
.·`TCH
(..·*

010000110101001101101000011000010111001001110000010011110111001001000010011101010111001101110100
"When the debate is lost, slander becomes the tool of the loser." - Socrates
Vita contingit, Vive cum eo. (Life Happens, Live With it.)
"Life is not measured by the number of breaths we take, but by the moments that take our breath away." -- author unknown
"De omnibus dubitandum"
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform