Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Convert SQL database to vfp
Message
From
17/09/2007 01:08:55
Dragan Nedeljkovich (Online)
Now officially retired
Zrenjanin, Serbia
 
 
To
16/09/2007 18:41:27
Erick Miranda
Formata Data Business - Grupo Linx
Contagem, Brazil
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP2
Network:
Windows 2000 Server
Database:
MS SQL Server
Miscellaneous
Thread ID:
01254608
Message ID:
01254627
Views:
9
>Hi Bill,
>
>>I need help in converting sql server database to vfp can any body help me with a quick idea to solve this issue
>

>Try:
>- For each table in SQL database;
>- Select the datas;
>- Copy to comand.

Actually, it can be automated a bit further, but I seem to have lost the code I wrote three years ago when I last did it.

Two more things:

First, start a new database, and Copy To it (i.e. copy to .... database {newdbc}). That should take care of long field and table names.

Second, check for impossible names. SQL server allows a few characters which VFP doesn't, like # (and maybe a few more I didn't have a chance to encounter). VFP will replace such characters with underscores, but you need to keep that in mind for later updates.

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Previous
Reply
Map
View

Click here to load this message in the networking platform