MySQL Forums
Forum List  »  Microsoft SQL Server

Importing Messageboard from Microsoft SQL
Posted by: Michael Seto II
Date: June 30, 2010 01:37PM

Hey all!

I have a messageboard that has a Microsoft SQL 2000 database, and I am bringing that into vBulletin, which is MySQL.

The problem I am having is bringing in thread titles.

The MSSQL and MySQL columns are both varchar(250), when I use SQLyog to import "Subject" from cs_Posts into the "title" column of the "thread" table, it says it completes successfully but when I go into the data, the entire thread column is blank, as of nothing imported at all.

I exported to a CSV next, then used the Import utility in SQL to bring in the CSV file to the "title" column to get my thread titles imported, but the issue I am having now, is it imports, but it appears to create new rows, not update existing.

I want to update the existing rows starting with the first one and match the CSV to the rows from top to bottom.

All the job does that I am running from a third party utility (SQLyog) is add rows, not use the CSV data to fill the existing rows.

Options: ReplyQuote


Subject
Written By
Posted
Importing Messageboard from Microsoft SQL
June 30, 2010 01:37PM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.