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 |
shishi
Starting Member
7 Posts |
Posted - 2003-04-10 : 05:39:55
|
Hi Friends , Theres a database name 'Trial' . Thro' Enterprise manager , I hv generated SQL Script for 'Trial' db. And I need to copy that 'Trial' db files ( all datas & tables etc ) into another Database 'Trial -1 ' db. which is in another remote Server in diff place. So from Enterprise manager within 'Trial-1' db I went for importing Sql Script . theres no option for importing SQL Script file . How do I import SQL Script into another db via DTS wizard . Pl explain step by step. HELP , Its urgent . Regards Shishi |
|
samsekar
Constraint Violating Yak Guru
437 Posts |
Posted - 2003-04-10 : 05:53:13
|
quote: I need to copy that 'Trial' db files ( all datas & tables etc ) into another Database 'Trial -1 ' db.
Go to Import / Export Data, select the source and destination servers and databases. and select the option 'copy objects and data between servers' option.Sekar~~~~Success is not a destination that you ever reach. Success is the quality of your journey.Edited by - samsekar on 04/10/2003 06:04:48 |
 |
|
shishi
Starting Member
7 Posts |
Posted - 2003-04-10 : 06:18:36
|
Hi Sekar ,The problem is that From India,in 'Trial' db , I hv generated the SQL Script File.And I gone to LosAngeles for a project and I need to import the Script file in the new database in theSql Server over there.In DTS inside ,in import , the Source is asked such as 'Provider , text etc.' And I know the Destination .But wht do I choose in the Souce option ?, Since Sql Script File (.sql) needs to be imported. could pl explain me theprocess in Wizard step by step for importing Sql Script File.Help.RegardsShishi |
 |
|
samsekar
Constraint Violating Yak Guru
437 Posts |
Posted - 2003-04-10 : 06:24:48
|
fine. You have generated script of tables, views.. and you want to create the same tables,views there in Las Angels using the same script.Open the script in Query Analyser and Select the database and run the script.Sekar~~~~Success is not a destination that you ever reach. Success is the quality of your journey. |
 |
|
shishi
Starting Member
7 Posts |
Posted - 2003-04-10 : 06:48:25
|
But I tried with that also ,Executing Sql(.sql) Script file in Query Analyser,Only the Table designs are copied , but without datasinto it.?? |
 |
|
RoyalSher
Yak Posting Veteran
95 Posts |
Posted - 2003-04-10 : 07:33:54
|
hth, quote: But I tried with that also ,Executing Sql(.sql) Script file in Query Analyser,Only the Table designs are copied , but without datas
a scripted file of objects gives only design of the objects, and not data..for ur data u need to either use dts to import data from trial db in India to trial-1 db @ L.A... provided ur db trial m/c is on valid ip..else u cd have taken backup of ur whole trial db and restored at ur proj. site.!ne i/p's from forum members.. RoyalSher.*********The world is the great gymnasium where we come to make ourselves strong. |
 |
|
|
|
|
|
|