if both databases are on the same server and you want to transfer the whole table (make a copy of it), then use a simple select in statement ...
select * into anotherDatabase..copyOfTable from oneDatabase..tableName
You can then write the top of the sysobjects cursor and copy the entire set of tables this way.
If you need more complex data extraction and transformation, use SSIS and create an appropriate ETL in it.
Zilog Apr 05 2018-12-12T00: 00Z
source share