Editing the Configurations During Migration from Microsoft SQL Server to MySQL
Symptom |
Feature Name |
Recommended Setting |
---|---|---|
The database structures of Microsoft SQL Server and MySQL are different, so the migration fails. |
Database name conversion |
Recommended value: Retain the database names. Impact: Object database names are not converted. |
The collations of Microsoft SQL Server and MySQL are different, so the migration fails. |
Collation conversion |
Comment collations. Impact: Collations are commented out. |
The collations of Microsoft SQL Server and MySQL are different. This configuration item controls DROP_EXISTING conversion. |
DROP_EXISTING conversion |
Remain DROP_EXISTING. Impact: DROP_EXISTING is not converted. |
The collations of Microsoft SQL Server and MySQL are different. This configuration item controls the conversion of index filtering statements. |
Conversion of index filtering statements. |
Retain index filtering statements. Impact: Index filtering statements are not converted. |
The syntax of SQL Server is different from that of MySQL. MySQL does not support table variables. |
Table variable conversion |
Convert a table variable to a temporary table. Impact: In Microsoft SQL Server, explicit table variables do not comply with the rollback semantics of transactions. In MySQL, temporary tables comply with the rollback semantics of transactions. You need to check whether the service semantics changes. Multi-statement table-valued functions that return table definitions are excluded. |
The syntax of SQL Server is different from that of MySQL. MySQL does not support the system function @@FETCH_STATUS of SQL Server. |
WHILE LOOP Condition @@FETCH_STATUS=0 |
Converted to NOT FOUND HANDLER. Impact: Users need to pay attention to whether the service semantics changes. Constraints:
|
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot