Please start any new threads on our new site at http://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

Our new SQL Server Forums are live! Come on over! We've restricted the ability to create new threads on these forums.

SQL Server Forums
Profile | Active Topics | Members | Search | Forum FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 SQL Server 2000 Forums
 Import/Export (DTS) and Replication (2000)
 Import Sql Script in DTS - Urgent
 Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

shishi
Starting Member

7 Posts

Posted - 04/10/2003 :  05:39:55  Show Profile  Reply with Quote
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

India
437 Posts

Posted - 04/10/2003 :  05:53:13  Show Profile  Reply with Quote
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
Go to Top of Page

shishi
Starting Member

7 Posts

Posted - 04/10/2003 :  06:18:36  Show Profile  Reply with Quote
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 the
Sql 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 the
process in Wizard step by step for importing Sql Script File.

Help.

Regards
Shishi

Go to Top of Page

samsekar
Constraint Violating Yak Guru

India
437 Posts

Posted - 04/10/2003 :  06:24:48  Show Profile  Reply with Quote
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.
Go to Top of Page

shishi
Starting Member

7 Posts

Posted - 04/10/2003 :  06:48:25  Show Profile  Reply with Quote
But I tried with that also ,
Executing Sql(.sql) Script file in Query Analyser,
Only the Table designs are copied , but without datas
into it.??

Go to Top of Page

RoyalSher
Yak Posting Veteran

India
95 Posts

Posted - 04/10/2003 :  07:33:54  Show Profile  Reply with Quote
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.
Go to Top of Page
  Previous Topic Topic Next 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.07 seconds. Powered By: Snitz Forums 2000