Jump to content

Recommended Posts

Hi

I have this old data base from a ecommerce store and I want to upgrade it to a new oscommerce one.

 

I am trying to transfer the customers over

 

Is it possible to just pick out certain field and input them into the new data base?

 

I want to pick out the folowing fields CustomerID, Firstname, lastname, Email, Password, Telephone

 

I tried changing the table name to the same one as in the Oscommerce database and then I changes the field names that I wanted. I then dropped the fiels i didnt want i then submitted it or imported it . But that doesnt seem to have work can any one help on what I should do ?

 

Thanks

 

James

Link to comment
https://forums.phpfreaks.com/topic/147601-transfering-to-a-new-database/
Share on other sites

There are several ways you could try that.

 

For example, have both tables in one database, and use INSERT ... SELECT choosing only columns you need.

http://dev.mysql.com/doc/refman/5.1/en/insert-select.html

 

Make sure that datatypes for new column match those for old columns (and if not, process your data so that it fits into new table)

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.