Home » Reply » Reply To: Move table form one database to another database in SQL

Reply To: Move table form one database to another database in SQL

Andrew Jackson ~ Modified: November 24th, 2015 ~ ~ 1 Minute Reading

Home Forums Move table form one database to another database in SQL Reply To: Move table form one database to another database in SQL

#917 Score: 0
Andrew Jackson
Moderator
1 pt

Try this:

SELECT * 
INTO DestinationDB..MyDestinationTable 
FROM SourceDB..MySourceTable 

It will not copy constraints, defaults or indexes.