DaniWeb IT Discussion Community

DaniWeb IT Discussion Community (http://www.daniweb.com/forums/index.php)
-   Database Design (http://www.daniweb.com/forums/forum142.html)
-   -   Importing SQL Script File - Urgent !! (http://www.daniweb.com/forums/thread408.html)

shishi Apr 10th, 2003 6:11 am
Importing SQL Script File - Urgent !!
 
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

Rogp Apr 20th, 2004 12:20 pm
Re: Importing SQL Script File - Urgent !!
 
Paste the code into Query analyzer, and run. This will create tables, etc. then use DTs to import data.


Good Luck.

Paladine Apr 20th, 2004 10:11 pm
Re: Importing SQL Script File - Urgent !!
 
I think he is saying he has an Access DB and needs to convert the tables to SQL?

Have you looked for the solution on Technet (MSDN) - Microsoft?

I am sorry, but I haven't got access to my SQL Server at work, so I can't give you step by step instructions, but Enterprise manager does have the ability to grab the table and data from Access....but you will loose the relationships between the data. So be warned on that.

I am sure there is a script or program out there that will do it for you. Search MSDN and Google, may get a faster reply!

Once again, sorry! :sad:


All times are GMT -4. The time now is 6:36 am.

Forum system based on vBulletin Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
©2003 - 2009 DaniWeb® LLC