Welcome, Guest ( Customer Panel | Login )




 All Forums
 VPCart Forum
 VP-ASP 7.0 Questions
 Multiple Stores - Configuration Table Copy?
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

ahineman
Starting Member

USA
19 Posts

Posted - April 08 2011 :  17:50:16  Show Profile  Reply with Quote
I have 2 stores setup using configuration table and configuration1 table. How can I add a third, forth, and fifth store with new tables? Can I simply copy configuration1 and call it configuration2, etc, etc? Or is there something else I need to do?

Thanks
Andy

support
Administrator

4342 Posts

Posted - April 10 2011 :  23:39:42  Show Profile  Visit support's Homepage  Reply with Quote
Hi Andy,

Are you using Access, MySQL or SQL Server?

If using SQL Server and have access to your db via the Management Studio you can try running the following query to copy your config table:

SELECT * INTO configuration2
FROM configuration

If using Access then you can download the DB and just make a copy of the table.

Does anyone have a script for MySQL?

Thank you.

Cam Flanigan
VP-ASP Cart Support

Follow us on Twitter:
http://www.twitter.com/vpasp
Go to Top of Page

ahineman
Starting Member

USA
19 Posts

Posted - April 12 2011 :  11:17:12  Show Profile  Reply with Quote
thanks that worked!
Go to Top of Page

support
Administrator

4342 Posts

Posted - April 13 2011 :  00:21:47  Show Profile  Visit support's Homepage  Reply with Quote
I found this for MySQL:

CREATE TABLE configuration2 SELECT * FROM configuration

What i did was to create a text file and paste this into the file and save.

Then using convertsql.asp ran the text file and the new table was added and the data from configuration copied across.

Hope this helps someone out there!

Cam Flanigan
VP-ASP Cart Support

Follow us on Twitter:
http://www.twitter.com/vpasp
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
Snitz Forums 2000
0 Item(s)
$0.00