NJC__Documentation::DB

dbo.dt_ms_item_custom

Description

Properties

Name Value
Collation
File Group
Filestream File Group
Is Partitioned

False

Partitioned Column
Partition Scheme
File Groups
Filestream Partition Scheme
Filestream File Groups
Heap

False

Full Text Catalog
Full Text
Compression NONE
Row Count (~) 26
Created 9/11/2017 09:42:00
Last Modified 9/13/2017 15:23:55

Columns

Key Name Data Type Length Precision Scale Not Null Identity Rule Default Computed Persisted Description
ms_item_custom_no varchar 50 0 0

True

False

False

ms_item_custom_name varchar 255 0 0

False

False

False

ms_item_custom_h_allow_id bigint 8 19 0

False

False

False

ms_item_custom_h_tarif_id bigint 8 19 0

False

False

False

create_date datetime 8 23 3

False

False

False

create_by int 4 10 0

False

False

False

modify_date datetime 8 23 3

False

False

False

modify_by int 4 10 0

False

False

False

Indexes

Key Name Columns Unique Type Description
PK_dt_ms_item_custom ms_item_custom_no

True

Foreign Keys

Name Columns Description
FK_dt_ms_item_custom_dt_ms_item_custom_h_tarif ms_item_custom_h_tarif_id

SQL Script

CREATE TABLE dbo.dt_ms_item_custom (
  ms_item_custom_no varchar(50) NOT NULL,
  ms_item_custom_name varchar(255) NULL,
  ms_item_custom_h_allow_id bigint NULL,
  ms_item_custom_h_tarif_id bigint NULL,
  create_date datetime NULL,
  create_by int NULL,
  modify_date datetime NULL,
  modify_by int NULL,
  CONSTRAINT PK_dt_ms_item_custom PRIMARY KEY CLUSTERED (ms_item_custom_no)
)
ON [PRIMARY]
GO

ALTER TABLE dbo.dt_ms_item_custom WITH NOCHECK
  ADD CONSTRAINT FK_dt_ms_item_custom_dt_ms_item_custom_h_tarif FOREIGN KEY (ms_item_custom_h_tarif_id) REFERENCES dbo.dt_ms_item_custom_h_tarif (ms_item_custom_h_tarif_id) NOT FOR REPLICATION
GO

ALTER TABLE dbo.dt_ms_item_custom
  NOCHECK CONSTRAINT FK_dt_ms_item_custom_dt_ms_item_custom_h_tarif
GO