dbTalk Databases Forums  

Trying to import FoxPro files to SQL Server 2000, including .dbf and .fpt

comp.databases.xbase.fox comp.databases.xbase.fox


Discuss Trying to import FoxPro files to SQL Server 2000, including .dbf and .fpt in the comp.databases.xbase.fox forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Liz
 
Posts: n/a

Default Trying to import FoxPro files to SQL Server 2000, including .dbf and .fpt - 08-06-2003 , 12:26 PM






Hi, I'm trying to import some FoxPro files into SQL Server 2000. I
don't have access to FoxPro, they just zipped up the files and sent
them to me.

I haven't been able to figure out how to import the files directly
into SQL Server 2000, it keeps saying that the data is in an
unexpected format. I am, however, able to create linked tables in
Microsoft Access, and then import the majority of the information from
Access to SQL Server 2000. That even gives me the text and memo
information.

The problem that I am running into is that one of the tables is too
large. Access gives me the message "Record is too large", and all of
the fields populate with #Error. I tried to run a query on the table
to cut down on the size, and I get the same error. I tried to import
the query into SQL Server 2000, and got the "Record too large" error
again. I think that the size issue is coming from the .fpt file, but
I need to use that information, so I can't just leave it out. I tried
to import the query into SQL Server 2000, and got the same error that
Access had given me.

Does anyone have any ideas on how to go about getting a really large
table into either Access or SQL Server 2000?

Reply With Quote
  #2  
Old   
me
 
Posts: n/a

Default Re: Trying to import FoxPro files to SQL Server 2000, including .dbf and .fpt - 08-20-2003 , 05:11 PM






Use the import feature in enterprise manager.

If they are old fox tables, then use the free table driver in the ODBC
section

Otherwise use the Visual FoxPro driver and specify a dbc.



"Liz" <lhillring (AT) bowmansystems (DOT) com> wrote

Quote:
Hi, I'm trying to import some FoxPro files into SQL Server 2000. I
don't have access to FoxPro, they just zipped up the files and sent
them to me.

I haven't been able to figure out how to import the files directly
into SQL Server 2000, it keeps saying that the data is in an
unexpected format. I am, however, able to create linked tables in
Microsoft Access, and then import the majority of the information from
Access to SQL Server 2000. That even gives me the text and memo
information.

The problem that I am running into is that one of the tables is too
large. Access gives me the message "Record is too large", and all of
the fields populate with #Error. I tried to run a query on the table
to cut down on the size, and I get the same error. I tried to import
the query into SQL Server 2000, and got the "Record too large" error
again. I think that the size issue is coming from the .fpt file, but
I need to use that information, so I can't just leave it out. I tried
to import the query into SQL Server 2000, and got the same error that
Access had given me.

Does anyone have any ideas on how to go about getting a really large
table into either Access or SQL Server 2000?



Reply With Quote
  #3  
Old   
Cyrus Welch
 
Posts: n/a

Default Re: Trying to import FoxPro files to SQL Server 2000, including .dbf and .fpt - 08-22-2003 , 06:06 PM



Hello, "me" !
You wrote:

Quote:
Use the import feature in enterprise manager.

If they are old fox tables, then use the free table driver in
the ODBC
section

Otherwise use the Visual FoxPro driver and specify a dbc.



You can also use the vfp driver on pre-vfp tables.

One other possibility with Access is that you have too many
indexes. Access is limited to 32 of them. Not sure if SQL has
the same problem.

--
Cyrus Welch
Senior Programmer
MetSYS Inc
http://www.metsysinc.com


Reply With Quote
  #4  
Old   
cjohnson@cskauto.com
 
Posts: n/a

Default Re: Trying to import FoxPro files to SQL Server 2000, including .dbf and .fpt - 12-28-2004 , 04:28 PM



I had a similar problem. I had to get the OLEDB FoxPro Driver that
comes with Visual FoxPro 7.0. I use that in my DTS package and I can
upload files perfectly. You might see if you can get your hands on that
driver.


Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.