Is there a tool to generate a full database DDL for SQL Server? What about Postgres and MySQL?

后端 未结 8 1738
野性不改
野性不改 2021-02-18 22:11

Using Toad for Oracle, I can generate full DDL files describing all tables, views, source code (procedures, functions, packages), sequences, and grants of an Oracle schema. A g

8条回答
  •  执念已碎
    2021-02-18 22:47

    For mysql, I use mysqldump. The command is pretty simple.

    $ mysqldump [options] db_name [tables]

    $ mysqldump [options] --databases db_name1 [db_name2 db_name3...]

    $ mysqldump [options] --all-databases

    Plenty of options for this. Take a look here for a good reference.

提交回复
热议问题