473,387 Members | 1,588 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

Is there a limit in retrieving foxpro file using VFPOLEDB ??

ck9663
2,878 Expert 2GB
Expand|Select|Wrap|Line Numbers
  1.  select dbf.*, 'fromfilename' as recordsource into x
  2.  from OPENROWSET('VFPOLEDB','c:\my\full\path\';'';'',
  3. 'select * from mytable') dbf 

I have 2+Million records on the dbf file and I'm trying to upload it to a SQL Server table.

I'm getting this error:

Cannot get the current row value of column "[VFPOLEDB].fieldname" from OLE DB provider "VFPOLEDB" for linked server "(null)". The provider cannot determine the value for this column.


The funny thing is, the same code works for 100,000 rows.

Is there a better way of doing this? I need this automated as part of a process.

Any idea?

Thanks...

-- CK
Aug 19 '08 #1
0 1955

Sign in to post your reply or Sign up for a free account.

Similar topics

4
by: Kimo | last post by:
Hi I develope an application in VB.Net. I want to connect to foxpro database. I use the following code Tr Dim cnn As New OleDbConnectio cnn.ConnectionString = "Provider=VFPOLEDB.1;" + "Data...
9
by: Dr. Know | last post by:
Greetings, I am running IIS on W2kServer and am trying to use ASP with some legacy X-Base tables. I cannot get the provider to connect. Relevant code is: strProvider =...
3
by: | last post by:
I am trying to Delete records from Fox Pro Free Tables (.DBF) using C#. I am able to insert and view data with no problems but when I try to delete - no luck. It appears that I need to run a...
7
by: Sascha Schmidt | last post by:
Hello ! I have a little problem accessing a Visual Foxpro-database using ODBC (Driver 6.00.8167) (using System.Data.Odbc). Reading a column, defined in the Foxpro table definition as a kind of...
0
by: Jan Smazinka | last post by:
I have problem with VFPOLEDB.1 which I use in ASP.NET application. When I try UPDATE command then I get exception: "Cannot update the cursor". SELECT command is O.K. Same connectionString is...
14
by: johnsobd | last post by:
I am accessing an existing Foxpro database, of which I have no control over. I have been successful in accessing all the tables except for one. This one table I can access the first 9 fields in...
2
by: Agnes | last post by:
Dim authConnection As New OleDbConnection("Provider = VfpOleDB.1;Data Source = d:\cgl\vfpmaster\ttsdata\tts.dbc") authConnection.Open() i got an error "'VfpOleDB.1'...
1
by: nalwi | last post by:
I am accessing foxpro free table (.dbf) database using VisualFoxPro 9 OLE DB driver using .NET code. my sql code looks select distinct ALLTRIM(ssn) as Id, ALLTRIM(mob_phone) as...
0
by: johntig | last post by:
need help with a foxpro linked server problem i have some foxpro tables that are part of an app. i have created a mssql linkedserver and can select records from a .aspx page my problem is how...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.