Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Manually exporting tables to MS SQL Server
Message
From
22/10/1997 10:43:48
Bob Lucas
The WordWare Agency
Alberta, Canada
 
 
To
22/10/1997 09:47:25
General information
Forum:
Visual FoxPro
Category:
Client/server
Miscellaneous
Thread ID:
00055497
Message ID:
00056030
Views:
32
>>>For several days I've been trying to find an easy way to dump my FoxPro table(s) onto our MS SQL Server programatically (without using the Upsizing Wizard). I was curious how the rest of the FoxPro community was doing this.
>>>
>>>APPEND FROM into a remote view didn't seem to work; only kept first 200 records. Please help!
>>
>>Gino,
>>
>>Are you sure that your VFP table doesn't have any data that breaks rules in the SQL Server Table? APPEND FROM should work fine.
>>
>
>
>Good point. I look into this. Still doesn't make sense why that would fail but the INSERT INTO for each records doesn't. It said ID cannot be null..well, there are no NULL ID's in my VFP table! A bit strange.
>
>Thnnk you!
>- GM

The NULL value error may be coming from SQL Server. It may be saying that you have not supplied a value for that column and it cannot be null. Make sure that the ID column is updateable (If it is a key field of the SQL Server primary key, by default the view marks these fields as not updateable. Make sure that all the fields of your view are updateable)
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform