Solved

copy table with data from one database to another

Posted on 2000-03-03
1
127 Views
Last Modified: 2011-09-20
I want to copy table with all records in one database to another database. How can I do it?

thank you

0
Comment
Question by:guosong
1 Comment
 
LVL 4

Accepted Solution

by:
Gustavo Perez Buenrostro earned 10 total points
Comment Utility
Use INTO clause of SELECT statement. See sample below:

select * into pubs..MySysmessages from master..sysmessages
0

Featured Post

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

International Data Corporation (IDC) prognosticates that before the current the year gets over disbursing on IT framework products to be sent in cloud environs will be $37.1B.
For both online and offline retail, the cross-channel business is the most recent pattern in the B2C trade space.
Via a live example, show how to setup several different housekeeping processes for a SQL Server.
Viewers will learn how to use the UPDATE and DELETE statements to change or remove existing data from their tables. Make a table: Update a specific column given a specific row using the UPDATE statement: Remove a set of values using the DELETE s…

763 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

6 Experts available now in Live!

Get 1:1 Help Now