Any tools for Understanding Existing Foxpro Database Model?

|▌冷眼眸甩不掉的悲伤 提交于 2019-12-25 03:56:30

问题


I have some dbf files of foxpro database. However, I have no idea about what are relationship between tables regarding foreign key, what tables are inter related and so on. Is there any tool which can help me to learn relationships easily. I mean which can draw relationship instead of me figuring out by hit and try.? I want to export this database to Microsoft SQL Server. So I want to learn whole database schema to learn tables logic. Thanks


回答1:


Is this just a set of VFP free tables or is there a VFP database, as well? If there's a database, you'll have files with DBC, DCT and DCX extensions. If you have those, open the database and take a look:

OPEN DATABASE whatever
MODIFY DATABASE

If there are relationships defined between the tables, you'll see them there.

VFP ships with a program called GENDBC that will generate code to recreate a database. Since it's all SQL code, that might help you to see what's in there, as well.




回答2:


The Stonefield Database Toolkit is designed to work with Visual FoxPro and has a lot of documenting ability. Not free though.



来源:https://stackoverflow.com/questions/8154533/any-tools-for-understanding-existing-foxpro-database-model

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!