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.

 All Forums
 General SQL Server Forums
 New to SQL Server Programming
 Export and Import Database

Author  Topic 

Boody
Starting Member

4 Posts

Posted - 2013-08-29 : 23:25:07
I want to export my shipping from one onlineshop (prestashop) to my new onlineshop.
Is it possible to export the files in the attachment and import them to the new database?

If this is possible do I need to run a query after I import?

Thanks :

visakh16
Very Important crosS Applying yaK Herder

52326 Posts

Posted - 2013-08-29 : 23:48:56
yep..you can detach the database and send the mdf,ldf and ndf(if any) files as attachment. then in new server download and attach them

Either attach/detach using Management Studio UI or use sp_detach_db and sp_attach_db procedures

http://technet.microsoft.com/en-us/library/ms188031.aspx

http://technet.microsoft.com/en-us/library/ms179877.aspx

------------------------------------------------------------------------------------------------------
SQL Server MVP
http://visakhm.blogspot.com/
https://www.facebook.com/VmBlogs
Go to Top of Page

visakh16
Very Important crosS Applying yaK Herder

52326 Posts

Posted - 2013-08-29 : 23:50:15
If you just want to export data alone use Export Import wizard from SQL management studio. I hope both your databases are in same domain

------------------------------------------------------------------------------------------------------
SQL Server MVP
http://visakhm.blogspot.com/
https://www.facebook.com/VmBlogs
Go to Top of Page

Boody
Starting Member

4 Posts

Posted - 2013-08-29 : 23:58:10
quote:
Originally posted by visakh16

If you just want to export data alone use Export Import wizard from SQL management studio. I hope both your databases are in same domain

------------------------------------------------------------------------------------------------------
SQL Server MVP
http://visakhm.blogspot.com/
https://www.facebook.com/VmBlogs




Thank you for your response. I do not have any sql experience so I am hoping it can be done with limited sql abilities.

The shipping table that I want to export is on a different server to where I need to import it to.

I had to manually input the weight and prices for about 100 countries into my store and have now made a new store (different product) and want to use the same shipping table.

It would be great if there was an easy way to do this.
Go to Top of Page

visakh16
Very Important crosS Applying yaK Herder

52326 Posts

Posted - 2013-08-30 : 00:29:11
quote:
Originally posted by Boody

quote:
Originally posted by visakh16

If you just want to export data alone use Export Import wizard from SQL management studio. I hope both your databases are in same domain

------------------------------------------------------------------------------------------------------
SQL Server MVP
http://visakhm.blogspot.com/
https://www.facebook.com/VmBlogs




Thank you for your response. I do not have any sql experience so I am hoping it can be done with limited sql abilities.

The shipping table that I want to export is on a different server to where I need to import it to.

I had to manually input the weight and prices for about 100 countries into my store and have now made a new store (different product) and want to use the same shipping table.

It would be great if there was an easy way to do this.


see step by step article on export import wizard

http://www.databasejournal.com/features/mssql/article.php/3580216/SQL-Server-2005-Import--Export-Wizard.htm

------------------------------------------------------------------------------------------------------
SQL Server MVP
http://visakhm.blogspot.com/
https://www.facebook.com/VmBlogs
Go to Top of Page

Boody
Starting Member

4 Posts

Posted - 2013-08-30 : 01:13:49

[/quote]
see step by step article on export import wizard

http://www.databasejournal.com/features/mssql/article.php/3580216/SQL-Server-2005-Import--Export-Wizard.htm

------------------------------------------------------------------------------------------------------
SQL Server MVP
http://visakhm.blogspot.com/
https://www.facebook.com/VmBlogs

[/quote]

Thank you for the link. I am actually trying to export from the sql in my xampp folder and import into my website online using PHP My Admin.

If you have a step by step for this process that would be great.

Thank you.
Go to Top of Page

visakh16
Very Important crosS Applying yaK Herder

52326 Posts

Posted - 2013-08-30 : 03:01:39
what do you mean by "sql in my xampp folder"?
do you mean .sql files stored in folder or do you mean database itself?

------------------------------------------------------------------------------------------------------
SQL Server MVP
http://visakhm.blogspot.com/
https://www.facebook.com/VmBlogs
Go to Top of Page

Boody
Starting Member

4 Posts

Posted - 2013-08-30 : 04:00:19
quote:
Originally posted by visakh16

what do you mean by "sql in my xampp folder"?
do you mean .sql files stored in folder or do you mean database itself?

------------------------------------------------------------------------------------------------------
SQL Server MVP
http://visakhm.blogspot.com/
https://www.facebook.com/VmBlogs




Hi

Sorry for the confusion. From PHPMyAdmin in xampp to PHPMyAdmin in my cpanel for my live website.

The local website in xampp has a different domain than the live website that I want to import into.
Go to Top of Page
   

- Advertisement -