Unix Technical Forum

Copy a table from one DB to antoher in SQL Server 2005

This is a discussion on Copy a table from one DB to antoher in SQL Server 2005 within the SQL Server forums, part of the Microsoft SQL Server category; --> Hi all, i am completely new to SQL Server. So how can I do that? With Integration Services? Thanks ...


Go Back   Unix Technical Forum > Database Server Software > Microsoft SQL Server > SQL Server

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 02-29-2008, 08:25 PM
Dani
 
Posts: n/a
Default Copy a table from one DB to antoher in SQL Server 2005

Hi all,

i am completely new to SQL Server. So how can I do that? With
Integration Services?

Thanks for your help
Daniel

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 02-29-2008, 08:25 PM
Erland Sommarskog
 
Posts: n/a
Default Re: Copy a table from one DB to antoher in SQL Server 2005

Dani (danielsanberger@googlemail.com) writes:
> i am completely new to SQL Server. So how can I do that? With
> Integration Services?


INSERT db1.dbo.tbl (col1, col2, col3, ....)
SELCET col1, col2, col3, ....
FROM db2.dbo.tbl
WHERE ....

--
Erland Sommarskog, SQL Server MVP, esquel@sommarskog.se

Books Online for SQL Server 2005 at
http://www.microsoft.com/technet/pro...ads/books.mspx
Books Online for SQL Server 2000 at
http://www.microsoft.com/sql/prodinf...ons/books.mspx
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 10:03 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com