Murugan.com
Murugan Andezuthu Dharmaratnam

  |  HOME   |  BLOG   |  TWITTER   |  ARTICLES   |  8086  |  C++   |  VC++   |  ASP .NET   |  VB .NET   |  JAVA SCRIPT   |  MS SQL   |  MY   |  VIDEOS   |  DOWNLOADS   |  CONTACT ME   |  



How to copy a table with data to one db to another in sql 2005

Home   MSSQL   How to copy a table with data to one db to another in sql 2005         


You could use the SQL Server Import & Export Wizard to Transfer data from one table to another table

You could download the sql express edition toolkit from the link below. The DTSWizard comes with the Microsoft SQL Server 2005 Express Edition Toolkit


http://www.microsoft.com/DownLoads/details.aspx?familyid=3C856B93-369F-4C6F-9357-C35384179543&displaylang=en

D:\Program Files\Microsoft SQL Server\90\DTS\Binn\DTSWizard.exe

I have tried following query for the same purpose and it worked for me
SELECT INTO STAFF FROM Example1.dbo.staff
I have executed the query in the destination database






  |  HOME   |  BLOG   |  TWITTER   |  ARTICLES   |  8086  |  C++   |  VC++   |  ASP .NET   |  VB .NET   |  JAVA SCRIPT   |  MS SQL   |  MY   |  VIDEOS   |  DOWNLOADS   |  CONTACT ME   |  

Copyright 2009 @ Murugan Andezuthu Dharmaratnam