How to copy objects from a model to script file/server using Navicat Data Modeler? (Win...
Sign Up![](https://srv.veoh.com/images/veohplayerLoading.gif?version=N500)
This is a 5 minute preview of a 2 minute video
Install Web Player Beta to watch the full video in your browser or download it to your PCYou're watching a full 2 minute video using the Veoh Web Player
To download the original quality video, select the Download Options link below- By:
- navicatgui
- Description
- With Navicat Data Modeler, you can synchronize tables and views from a physical model to a database or export them to a script file. In this tutorial, we will show you both ways to transfer model objects. Assume we have imported some tables and views from a PostgreSQL schema into a physical model, made a few changes and added a new table. Then we will transfer the model into a MySQL database. To change server type of a model, select "Model Conversion" from the "File" menu and choose the desired database type and version. Navicat Data Modeler will convert fields to relevant field types, according to the server type. You may need to change the SQL syntax of the views after the conversion. Now, in the new model, select "Synchronize to Database" from the "Tools" menu. You can choose to synchronize with selected schema or synchronize with selected objects. If we did not set "Schema Name" properties for new tables, Navicat Data Modeler prompts a text box to enter a schema name for them. The tree view shows the differences between source and target objects after the comparison of their structures, while providing detailed SQL statements. Click "Run Query" button to execute selected queries in the target database. On the other hand, select "Export SQL" from the "Tools" menu if you want to save objects in the model into a script file. You can also choose the exported server version of the file.
- Language:
- English