Copying tables from a database

Through screwing around with some software I have found the solution to my problem. This thread can be closed.