Table: dbo.tables_modules (Tables-modules)

Schema dbo
Name tables_modules
Title Tables-modules
Module Schema and Metadata

Many-to-many relationship of tables and modules.

Columns
PK Name Data type Null Attributes Description
1 table_module_id int Identity / Auto increment column Row ID.
Row ID.
Identity / Auto increment column
2 table_id int Ref: tables.
Ref: tables.
3 module_id int Ref: modules.
Ref: modules.
4 creation_date datetime Default: getdate() Standard row creation timestamp.
Standard row creation timestamp.
Default: getdate()
5 created_by nvarchar(100) Default: NULL Database/Dataedo username that created row.
Database/Dataedo username that created row.
Default: NULL
6 last_modification_date datetime Default: getdate() Standard row last update timestamp.
Standard row last update timestamp.
Default: getdate()
7 modified_by nvarchar(100) Default: NULL Database/Dataedo username that last updated row.
Database/Dataedo username that last updated row.
Default: NULL
Relations
Foreign table Primary table Join Title / Name / Description
dbo.tables_modules dbo.modules dbo.tables_modules.module_id = dbo.modules.module_id FK_tables_modules_module
dbo.tables_modules.module_id = dbo.modules.module_id
FK_tables_modules_module
dbo.tables_modules dbo.tables dbo.tables_modules.table_id = dbo.tables.table_id FK_tables_modules_tables
dbo.tables_modules.table_id = dbo.tables.table_id
FK_tables_modules_tables
Unique keys
Key name Columns Description
PK_tables_modules table_module_id Table primary key.
Table primary key.
UK_tables_modules table_id, module_id Table-module combination must be unique.
Table-module combination must be unique.
Triggers
Key name When Description
trg_tables_modules_Modify After Insert, Update Standard insert/update trigger setting last_modification_date, modified by columns
Standard insert/update trigger setting last_modification_date, modified by columns
Uses
Name
dbo.tables_modules (Tables-modules)
Exported: 2017-05-15 08:09, Last imported: 2017-04-06 15:30