SQL Server Forums
Profile | Register | Active Topics | Members | Search | Forum FAQ
 
Register Now and get your question answered!
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 General SQL Server Forums
 Script Library
 Import script
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

d3ng
Yak Posting Veteran

Philippines
83 Posts

Posted - 09/07/2007 :  22:18:20  Show Profile  Visit d3ng's Homepage  Send d3ng a Yahoo! Message  Reply with Quote
How I would like to ask regarding on how to import a data using SQL Scripts. I want to import the data of a specific table from a different database instead of using a import/export options.

for ex.
from database_a.dbo.items to database_b.dbo.items


Tatas move

rmiao
Flowing Fount of Yak Knowledge

USA
7266 Posts

Posted - 09/07/2007 :  22:53:22  Show Profile  Reply with Quote
Take look at 'insert into table1 ... select ... from table2 ...' in books online.
Go to Top of Page

madhivanan
Premature Yak Congratulator

India
22765 Posts

Posted - 09/08/2007 :  02:04:36  Show Profile  Send madhivanan a Yahoo! Message  Reply with Quote
Also, This forum is to post a workable script and to ask a question. you should post your question at proper forum

Madhivanan

Failing to plan is Planning to fail
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
SQL Server Forums © 2000-2009 SQLTeam Publishing, LLC Go To Top Of Page
This page was generated in 0.03 seconds. Powered By: Snitz Forums 2000