Welcome To The Home Of The Visual FoxPro Experts  
home. signup. forum. archives. search. articles. downloads. faq. members. files. rss.
 From: Cetin Basoz
  Where is Cetin Basoz?
 Izmir
 Turkey
 Cetin Basoz
 To: Stefan Wille
  Where is Stefan Wille?
 Munich
 Germany
 Stefan Wille
Subject: RE: Foxpro 9 vs. SQL Server 2005
Thread ID: 164668 Message ID: 164727 # Views: 2 # Ratings: 0
Version: Visual FoxPro 9 Category: Databases, Tables and SQL Server
Date: Wednesday, March 19, 2008 10:31:35 PM         
   



> Hallo Together,
>
> I´d like to replicate my Data from my Foxpro Application to a SQL Server 2005. The problem I got is that it is not possible to bring OLE Objects form a "General- Field" Column into the SQL Server 2005. The Column in the SQL Server 2005 has a image Column Datatype. I also have tried the varbinary(Max) Datatype without success.
>
> Can anyone tell me how i can realize this?
>
> Thanx in advance
>
> Stefan

The SQL 2005 column would be image or varbinary(max). Nothing wrong there.

But if you do that with General fields you're storing some Ole header besides the file itself (or simply the header + path to file which would later fail to work). If possible get rid of general fields and use memo or blob for that on VFP side. You can transfer them to SQL2005 image/varbinary(max) columns using CreateBinary(). Load back using MapBinary = .t. as a BLOB.


Cetin Basoz

ENTIRE THREAD

Foxpro 9 vs. SQL Server 2005 Posted by Stefan Wille @ 3/19/2008 5:30:58 PM
RE: Foxpro 9 vs. SQL Server 2005 Posted by Ken Murphy @ 3/19/2008 5:36:54 PM
RE: Foxpro 9 vs. SQL Server 2005 Posted by Borislav Borissov @ 3/19/2008 5:40:38 PM
RE: Foxpro 9 vs. SQL Server 2005 Posted by Ken Murphy @ 3/19/2008 6:03:26 PM
RE: Foxpro 9 vs. SQL Server 2005 Posted by Borislav Borissov @ 3/19/2008 5:42:00 PM
RE: Foxpro 9 vs. SQL Server 2005 Posted by Cetin Basoz @ 3/19/2008 10:31:35 PM
RE: Foxpro 9 vs. SQL Server 2005 Posted by Stefan Wille @ 3/20/2008 9:34:45 AM
RE: Foxpro 9 vs. SQL Server 2005 Posted by Andy Kramek @ 3/20/2008 11:34:05 AM
RE: Foxpro 9 vs. SQL Server 2005 Posted by Stefan Wille @ 3/20/2008 12:52:31 PM
RE: Foxpro 9 vs. SQL Server 2005 Posted by Ken Murphy @ 3/20/2008 1:08:55 PM
RE: Foxpro 9 vs. SQL Server 2005 Posted by Andy Kramek @ 3/20/2008 1:39:49 PM
RE: Foxpro 9 vs. SQL Server 2005 Posted by Stefan Wille @ 3/20/2008 1:58:30 PM
RE: Foxpro 9 vs. SQL Server 2005 Posted by Cetin Basoz @ 3/20/2008 2:33:31 PM