Schema difference
When you work on changes in the database schema for an application, it is sometimes necessary to determine the difference between the old and the new structure. This information could be used in the documentation or can be analyzed to check whether the changes might have an undesired impact on other applications using the same database. The differences can be found using conventional command-line utilities.
For example, suppose someone changed the structure of the car portal database. First, let's create another database that will contain the updated schema. Assuming that the user can access the database running on localhost and is allowed to create databases and connect to any databases, the following command will create ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access