Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Select and insert problems...

Status
Not open for further replies.
Feb 9, 2003
24
AR
I have two databases, A and B. I'm trying to do a select from database A table a1 and insert that into database B table b1. What do I need to do to make this happen? Is it possible?
 
Code:
USE dbB
GO

INSERT b1 (col1)
SELECT col1
FROM dbA.dbo.a1
--James
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top