Importing a store's data from SQL 2005 to SQL 2000?

For general questions and discussions specific to the AbleCommerce 7.0 Asp.Net product.
Post Reply
DFresh
Lieutenant, Jr. Grade (LT JG)
Lieutenant, Jr. Grade (LT JG)
Posts: 33
Joined: Fri Jan 04, 2008 11:12 am

Importing a store's data from SQL 2005 to SQL 2000?

Post by DFresh » Wed May 14, 2008 9:20 am

Hello All,

I've been using a development store on an SQL 2005 database. We've managed to import historical data in from our previous eCommerce solution. We would like to use the hosting at AbleCommerce to host our store. We would like to export the data from the development server (orders, users, products, etc.) into the hosted solution using the Dataport utility. I'm told that this wont work since we'll be exporting data from a 2005 database and importing to a 2000 database. Has anyone ran into this problem. Is there a workaround? I'd hate to reinvent the wheel twice on this and attempt to import the historical data again (to a 2000 DB). I have all the original order data in a .csv format. I see that the Dataport handles CSVs but does not import line items on orders. However, the complete store upload (in XML) does. Any thoughts?

Thanks in advance!
-Doug

User avatar
jmestep
AbleCommerce Angel
Posts: 8164
Joined: Sun Feb 29, 2004 8:04 pm
Location: Dayton, OH
Contact:

Re: Importing a store's data from SQL 2005 to SQL 2000?

Post by jmestep » Wed May 14, 2008 12:04 pm

Is the SQL2005 database running in SQL2000 compatibility mode? You could try that.
If I were in your shoes, I would just test the import and see if it works. Backup the database, import, if things are wrong then restore the old database backup.
Judy Estep
Web Developer
jestep@web2market.com
http://www.web2market.com
708-653-3100 x209
New search report plugin for business intelligence:
http://www.web2market.com/Search-Report ... -P154.aspx

User avatar
Logan Rhodehamel
Developer
Developer
Posts: 4116
Joined: Wed Dec 10, 2003 5:26 pm

Re: Importing a store's data from SQL 2005 to SQL 2000?

Post by Logan Rhodehamel » Thu May 15, 2008 12:03 pm

My initial reaction - the dataport utility is the best bet. Could it be used to export the entire store from the 2005 database, then re-import to a 2000 database? (I have not worked on the dataport project so I can't answer, but someone else might chime in.)

I toyed with some conversion utilities yesterday, but I keep running into trouble where we have used 2005 specific field features like nvarchar(max). The converters are not sure how to downgrade this. Going down that road might run into more obstacles, and I'd only consider it if the dataport doesn't do the job.
Cheers,
Logan
Image.com

If I do not respond to an unsolicited private message, it's not because I'm ignoring you. It's because the answer to your question is valuable to others. Try the new topic button.

User avatar
jmestep
AbleCommerce Angel
Posts: 8164
Joined: Sun Feb 29, 2004 8:04 pm
Location: Dayton, OH
Contact:

Re: Importing a store's data from SQL 2005 to SQL 2000?

Post by jmestep » Fri May 16, 2008 8:33 am

You might want to try MS Database Publishing wizard. I had to use it to get a backup of a store since the shared hoster didn't allow downloads of backups. You can script your development database, then publish it to a shared hoster. If you are going to use Able to host, they don't allow direct database access for security reasons, but they should run the script for you- I have had them run scripts in the past to add fields to a database table.
The wizard has an option to select the type of target database to script for.
Download link is here:
http://www.microsoft.com/downloads/deta ... laylang=en
Judy Estep
Web Developer
jestep@web2market.com
http://www.web2market.com
708-653-3100 x209
New search report plugin for business intelligence:
http://www.web2market.com/Search-Report ... -P154.aspx

User avatar
Logan Rhodehamel
Developer
Developer
Posts: 4116
Joined: Wed Dec 10, 2003 5:26 pm

Re: Importing a store's data from SQL 2005 to SQL 2000?

Post by Logan Rhodehamel » Fri May 16, 2008 10:11 am

jmestep wrote:You might want to try MS Database Publishing wizard.
This is one of the utilities I tried. Because we have used nvarchar(max) fields in the 2005 schema, the publishing wizard doesn't know how to downgrade this for SQL 2000. It may also have trouble with some of the cascading delete rules we have in place that in 2000 would have been handled with triggers.

I haven't invested further research because I am hopeful the dataport utility would work for this purpose.
Cheers,
Logan
Image.com

If I do not respond to an unsolicited private message, it's not because I'm ignoring you. It's because the answer to your question is valuable to others. Try the new topic button.

Post Reply