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

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

提交回复
热议问题