in reply to Re: Re: DBI question
in thread DBI question

If the columns and names are the same then, as earlier suggest,  insert into foo select * from bar will work fine.

Depending on your RDBMS and how things are setup you may be able to specify a table in a different database as database:bar or some such, but this can run into problems with transactions etc.

If you're doing bulk copies, it's probably faster to:

Depending on volume of course...