Hallo,
I want to remove some records from a Table A (which can be ANY table of my
database) to a Table B in

rivate:-alias, but Table B does not yet exists.
This means, I have to create a table with the same structure. I also need to
have the key field(s) in the new table, but Table B should not have
look-up-tables anymore. (Because this makes problems as B is in another
alias than A).
What's the best way to do this? The only way I see is to use a create-sql
(but i do not know how to find out the key fields in a table). Shouldn't
there be an easier way?
Thanks,
Philipp