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

后端 未结 8 1764
野性不改
野性不改 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:51

    MySQL has a great tool called MySQL workbench that lets you reverse and forward engineer databases, as well as synchronize, which I really like. You can view the DDL when executing these functions.

    0 讨论(0)
  • 2021-02-18 22:56

    Following what Daniel Vassallo said, this worked for me:

    pg_dump -f c:\filename.sql -C -n public -O -s -d Moodle3.1 -h localhost -p 5432 -U postgres -w
    
    0 讨论(0)
提交回复
热议问题