Issue: The Microsoft Dynamics AX DB Upgrade Preparation tool fails and a syntax error is displayed while creating objects in the target database.
Possible cause #1: You have non-AOT-based tables in the source database schema.
Solution: Follow the steps in the "Non-AOT-based tables" section of the The Microsoft Dynamics AX DB Upgrade Preparation tool topic.
Possible cause #2: In your Microsoft Dynamics AX 3.0 database, you have used database reserved keywords as object, index, and constraint names.
Solution: Rename the object, index, and constraint names that use database reserved words to something else within the Microsoft Dynamics AX 3.0 database, run the Microsoft Dynamics AX DB Preparation tool to copy your data, rename the object, index, and constraint names back to their original names. For example, if one of the table columns is named INTERNAL, rename to XINTERNAL and after you run the Microsoft Dynamics AX DB Preparation tool, rename the table column back to INTERNAL.