• ERBuilder
  • Feature Matrix
  • Pricing
  • About us
  • ERBuilder Logo
  • 7.0
  • Getting started

    • About ERBuilder

    • Installation guide

    • User interface

  • Project management

    • Creating a new project

      • - Create a new project

      • - New project from scratch

      • - Automatically from user stories/ requirements

      • - From existing database

    • Opening an existing project

    • Closing a project

    • Saving a project

    • Save as a project

    • Exiting the application

    • Project properties

    • Opening multiple projects

  • Diagram Management

    • Add a new diagram

    • Delete a diagram

    • Rename a diagram

    • Diagram properties

    • Add existing tables/relationships to diagram

    • Show/hide relationships from a diagram

    • Export diagram as an image

    • Print/ Preview a diagram

    • Print setup

  • Objects

    • Tables

      • - Creating a new table

      • - Editing a table

      • - Deleting a table

      • - Duplicating a table

      • - Show/hide related relationships

      • - Table Styles

    • Domains

      • - Creating a new domain

      • - Editing an existing domain

      • - Deleting an existing domain

    • Columns

      • - Creating a new column

      • - Editing an existing column

      • - Deleting an existing column

    • Indexes

      • - Creating a new index

      • - Editing an existing index

      • - Deleting an existing index

    • Constraints

      • - Creating a new constraint

      • - Editing an existing constraint

      • - Deleting an existing constraint

    • Keys

      • - Creating a new key

      • - Editing an existing key

      • - Deleting an existing key

    • Triggers

      • - Creating a new trigger

      • - Editing an existing trigger

      • - Deleting an existing trigger

    • Procedures

      • - Creating a new procedure

      • - Editing an existing procedure

      • - Deleting an existing procedure

    • Views

      • - Creating a new view

      • - Editing an existing view

      • - Deleting an existing view

    • Sequences

      • - Creating a new Sequence

      • - Editing an existing Sequence

      • - Deleting an existing Sequence

    • Relationships

      • - Creating a new relationship

      • - Editing an existing relationship

      • - Deleting an existing relationship

      • - Setting relationship line style

      • - Add/ remove relationship point

      • - Show/hide a relationship

      • - Relationship styles

    • Schemas

      • - Creating a new Schema

      • - Editing an existing Schema

      • - Deleting an existing Schema

    • Requirements/ user stories

      • - Creating a new requirement/ user story

      • - Assign a requirement/ user story

      • - Editing an existing requirement/ user story

      • - Deleting an existing requirement/ story

      • - Import/ export requirements and user stories

    • Custom metadata

      • - Create a new custom metadata

      • - Assign a custom metadata

      • - Edit a custom metadata

      • - Delete a custom metadata

    • Manipulate objects

      • - Undo/Redo an action

      • - Copying/Pasting objects

      • - Reaching objects

      • - Organize and arrange Objects on a diagram

      • - Finding/Replacing objects

      • - Replacing data types

  • Connections management

    • Creating a new connection

    • Editing an existing connection

    • Deleting an existing connection

    • SSL settings

    • SSH settings

      • - SSH Connection using Password authentication

      • - SSH Connection using Public key authentication

    • Windows authentication

  • Forward/Reverse engineering

    • Forward engineering

      • - Model validation

      • - DDL Script generation

      • - Database generation

    • Reverse engineering an existing database

  • Advanced features

    • Update database from model

    • Update model from database

    • Generate change script

    • Compare models and/or databases

    • Merge models

    • Change DBMS

    • Model documentation

      • - Generate data model documentation

      • - Confluence connection settings

      • - Auto generate description

    • Generate data dictionary

    • Using ERBuilder console to generate documentation/ data dictionaries

    • Schedule the generation of data dictionaries/ documentation

    • Generate user interface

    • Generate test data

    • Data Generators settings

      • - Assign Data Generators

      • - Add a new generator template

    • Work with virtual test data in a database sandbox

    • Versions control management

  • Generative AI features

    • Auto-generate ERD using generative AI

    • Update model from Requirements/ User Stories using generative AI

    • Generative AI setup

  • Data model browser

    • About data model browser

    • Elements of the data model browser

    • Using the advanced filters

  • Git version control

    • Setup of Git with ERBuilder

    • Import project from Git repository

    • Save changes to Git repository

    • Refresh model

    • Manage versions

  • Options management

    • General

    • Diagram

    • Tables

    • Relationships

  1. Home
  2. Generate data dictionary

Using ERBuilder console to generate documentation/ data dictionaries

ERBuilder includes from version 6.0 a command line interface to generate either a data dictionary or a documentation from the command line.

Generating reports from the command line can be useful when you want to automate the process of creating documentation and data dictionaries by adding the commands to a batch file.

For this, you will need to follow the steps described further in this topic.

  1. Open the command prompt by pressing WIN+R and type cmd in the text box.
  2. Change the path in your command prompt window to the path where ERBuilder console file is located. By default it is located in the ERBuilder installation folder “C:\Program Files (x86)\Soft-Builder\ERBuilder\”. For this use the “cd” command then press ENTER to run the “cd” command as follow:

  3. ERBuilder console
  4. Now, you can call the ERBuilder console file. The command must be formatted as follows:

  5. A. Documentation report command


    Erbd.exe -documentation -name"your_connection_name" -out“specify output folder” -settingsfile"specify settings file path" -schema“specify schema name” -ignoreprocedures -ignoretriggers -ignoreconstraints -ignoreviews -ignoresequences

    Parameter How to use Required
    -documentation This parameter specifies that the generated file is a documentation report. Yes
    -name Specify here the connection name to the database you want to use. The connection must be created before running the command. Yes
    -out Enter the path of the output folder where the report will be saved. Yes
    -settingsfile Set the path to the settings file that will be used for the generation process. The file is in extension .cfg.
    To get this file open ERBuilder then go to “Tools | Generate model documentation”. From here set the settings then click “Save settings”.
    No
    -schema Specify the name of the schema. It’s used when you have a PostgreSQL, MS-SQL server or Redshift database. No
    -ignoreprocedures Use this parameter to exclude procedures from the generated documentation. No
    -ignoretriggers Use this parameter to exclude triggers from the generated documentation. No
    -ignoreconstraints Use this parameter to exclude constraints from the generated documentation. No
    -ignoreviews Use this parameter to exclude views from the generated documentation. No
    -ignoresequences Use this parameter to exclude sequences from the generated documentation. No

    Example:

    Erbd.exe -documentation -name "My_postgreSQL_connection" -out "F:\test_project\Documentation\" -settingsfile "F:\test_project\configuration file.cfg" -schema "Public" -ignoreconstraints



    B. Data dictionary command


    Erbd.exe -datadictionary -name"your_connection_name" -out“specify output folder” -settingsfile"specify settings file path" -schema“specify schema name” -exporttype “html or CSV” -metadata[metadatavalues]

    Parameter How to use Required
    -datadictionary This parameter specifies that the generated file is a data dictionary. Yes
    -name Specify here the connection name to the database you want to use. The connection must be created before. Yes
    -out Enter the path of the output folder where the report will be saved. Yes
    -schema Specify the name of the schema. It’s used when you have a PostgreSQL, MS-SQL server or Redshift database. No
    -exporttype Choose which format your file will be generated in. you can export in HTML or CSV format.
    Example: -exporttype html.
    No, If the parameter is not specified the format will be HTML.
    -csvseparator This parameter is used to specify the separator for the CSV file generated. Separator values are: “comma, semicolon, space, tab”.
    Example: -csvseparator semicolon
    No, Use only if you choose CSV as export type.
    -textdelimiter "single char" Specify the text delimiter for the CSV file. Replace “single char” by a delimiter character you choose. No, Use only if you choose CSV as export type.
    -metadata “metadatavalues” This parameter is used to choose which metadata will be exported. Metadata values are: tablename, tablecaption, fieldname, fieldcaption, fieldtype, notnull, primarykey, foreignkey, referencedtable, description.
    Example: -metadata tablename, fieldcaption
    No, If not specified, all the metadata will be exported in the report.

    Example:

    Erbd.exe -datadictionary -name "My_PostgreSQL_connection" -schema "Public" -out "F:\test_project\Data dictionary” -exporttype html -metadata tablecaption,fieldcaption,fieldtype




Available in: Enterprise Edition.

  • ← Previous
  • Next →

Can't find what you're looking for?

Let us help you right now!

Version 7.0
Copyright © 2023 Softbuilder. All rights reserved.