Solved

MSSQL to mySQL

Posted on 2003-12-11
6
396 Views
Last Modified: 2008-03-10
I am trying to deploy my SQL server database to a web hosting vendor who uses mySQL.

I installed mySQL and myODBC, and use the DTS import/export wizard to create and run a package.

1, I get this error message: "... column 7 ('col_name', DBTYPE_STR) status 6 Data Overflow" with all of my tables. At the 'select source table and views' stage, if I select a table and click at the 'transform' button, I get to the 'column mapping and transformation' dialog. It shows that the size of all my 'varchar' as '-1'. Why? and how to correct this problem?

2, I see that the syntax of mySQL is completely different, e.g., [db].[dbo].[table1] -> `db`.`table1`, etc. Does this mean that I'll have to re-write all my stored procedures? AND I have to re-write my ASP.NET C# code?

3, I chose the destination of data as a "File DSN" instead of user/system DSN. Is that the right way to do it?

4, Is there an easier way to do this? (preferrably not having to purchase any software tools.)

Thanks.
0
Comment
Question by:samliam
  • 2
6 Comments
 
LVL 33

Expert Comment

by:snoyes_jw
ID: 9930027
I'm not super familiar with this process, but:

2. mySQL will not support stored procedures until version 5.

4. If you're just trying to get a copy of your database, you can probably export it to a CSV file, then import using mysqlimport or LOAD DATA INFILE.
0
 
LVL 1

Accepted Solution

by:
JSheldon earned 50 total points
ID: 9934660
Intelligent Converters has a tool for this if your interested...

http://www.convert-in.com/mss2sql.htm

0
 
LVL 33

Assisted Solution

by:snoyes_jw
snoyes_jw earned 50 total points
ID: 10106759
It's been a while since the last post.  Is the problem solved?
0

Featured Post

Best Practices: Disaster Recovery Testing

Besides backup, any IT division should have a disaster recovery plan. You will find a few tips below relating to the development of such a plan and to what issues one should pay special attention in the course of backup planning.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
sql query help 15 55
point in time restore in SQL server 26 46
SQL 2012 Instance Problem 3 61
Need SQL Update 2 9
International Data Corporation (IDC) prognosticates that before the current the year gets over disbursing on IT framework products to be sent in cloud environs will be $37.1B.
The Delta outage: 650 cancelled flights, more than 1200 delayed flights, thousands of frustrated customers, tens of millions of dollars in damages – plus untold reputational damage to one of the world’s most trusted airlines. All due to a catastroph…
Using examples as well as descriptions, and references to Books Online, show the documentation available for date manipulation functions and by using a select few of these functions, show how date based data can be manipulated with these functions.
Viewers will learn how to use the UPDATE and DELETE statements to change or remove existing data from their tables. Make a table: Update a specific column given a specific row using the UPDATE statement: Remove a set of values using the DELETE s…

726 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question