I am working in a project where we are using SQL Server database currently. But recently a decision has been taken that the database will be changed to MySQL.
I am not using any stored procedures, views, triggers, user defined functions, etc. But I think even then some queries written for SQL Server will not be supported by MySQL.
What are the things that I have to check (and change) so that all the queries will work properly for MySQL also?
2条答案
按热度按时间vhmi4jdf1#
Queries that I know without consulting the documentation that will not work:
||
date_column + 1
behaves differently in SQL ServerDDL that will not work and might have an impact on performance and/or data quality
select * from my_function(42);
)9gm1akwq2#
There's always the option to take commercial support from MySQL AB for this problem. I'm pretty sure they've done enough MSSQL->MySQL migrations to know alot about that. If a price tag on the migration is not a problem.
Alternatively, you could try to run the MySQL Migration Toolkit over the data and look for meaningful error messages at the stuff it cannot migrate. MySQL Migration Toolkit is part of the MySQL GUI Tools.