>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)