Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Creating a light version of a database
Message
From
07/07/2004 17:54:52
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivia
 
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00921520
Message ID:
00921667
Views:
18
>I do not think, we have an empty copy of this database, but I'm not certain.

My suggestion is to have one. But you can also use gendbc.

>But I've just thought of the simpler approach: Copy the whole database to the local disk, run necessary selects, zap tables, that need to be zapped and append from cursors.

Yes, that is an easy way to create the empty database. Probably safer than gendbc.

>The only problem now is in select statement. Would TOP 2 work?

I don't think it works within a group. Personally, I would just write an old-fashioned program with loops.

>BTW, I think, I missed that thread. Can you give a link?

I don't remember right now; I suggest you search.
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)
Previous
Reply
Map
View

Click here to load this message in the networking platform