Please start any new threads on our new
site at https://forums.sqlteam.com. We've got lots of great SQL Server
experts to answer whatever question you can come up with.
Author |
Topic |
fabianus76
Posting Yak Master
191 Posts |
Posted - 2005-10-15 : 06:51:00
|
Hello!I would like to copy a table from one db to another db of the same SQL-Express-Server. Thank you very much for any code for that!Regards, Fabianmy favorit hoster is ASPnix : www.aspnix.com ! |
|
Kristen
Test
22859 Posts |
Posted - 2005-10-15 : 06:55:16
|
SELECT *INTO TargetDatabase.dbo.MyTableFROM SourceDatabase.dbo.MyTableThis will not create indexes, foreign keys or the like, and it WILL copy the data, as well as creating a new tableKristen |
|
|
fabianus76
Posting Yak Master
191 Posts |
Posted - 2005-10-15 : 07:08:41
|
Hallo Kristen!thank you very much for this prompt reply!This helps me a lot!Regards, Fabianmy favorit hoster is ASPnix : www.aspnix.com ! |
|
|
|
|
|