By the way, come to think of it, SQL management studio have a very easy tool to copy between databases, if you want to copy the whole recordset. Leftclick the destination database, select "Tasks" -> "Import Data...". In the wizard, select the second database as source, and select the table you need to copy to and from, and just watch it copy the data you need.