Description
Properties
| Name | Value |
|---|---|
| File Collation | |
| File Group | |
| Filestream File Group | |
| Is Partitioned | False |
| Partitioned Column | |
| Partition Scheme | |
| File Groups | |
| Filestream Partition Scheme | |
| Filestream File Groups | |
| Heap | True |
| Full Text Catalog | |
| Full Text | |
| Compression | NONE |
| Row Count (~) | 0 |
| Created | 3/6/2025 6:55:53 PM |
| Last Modified | 3/6/2025 6:55:56 PM |
Columns
17| Key | Name | Data Type | Length | Precision | Scale | Not Null | Identity | Rule | Default | Computed | Persisted | Description |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| cliente | int | 4 | 10 | 0 | True |
False |
False |
|||||
| tipo_contratista | int | 4 | 10 | 0 | True |
False |
False |
|||||
| tipo_doc | smallint | 2 | 5 | 0 | True |
False |
False |
|||||
| ci_killer | tinyint | 1 | 3 | 0 | False |
False |
False |
|||||
| cc_killer | tinyint | 1 | 3 | 0 | False |
False |
False |
|||||
| verificacion | varchar | 1 | 0 | 0 | False |
False |
False |
|||||
| tipo_alta | tinyint | 1 | 3 | 0 | False |
False |
False |
|||||
| tipo_baja | tinyint | 1 | 3 | 0 | False |
False |
False |
|||||
| activo | tinyint | 1 | 3 | 0 | False |
False |
False |
|||||
| dias_tolerancia | tinyint | 1 | 3 | 0 | False |
False |
False |
|||||
| requiere_upload | tinyint | 1 | 3 | 0 | False |
False |
False |
|||||
| estado_inicial | varchar | 1 | 0 | 0 | True |
('N') | False |
False |
||||
| afecta_compliance | tinyint | 1 | 3 | 0 | True |
(1) | False |
False |
||||
| bypass_CI | tinyint | 1 | 3 | 0 | False |
(0) | False |
False |
||||
| old_tipo_contratista | int | 4 | 10 | 0 | False |
False |
False |
|||||
| old_cliente | int | 4 | 10 | 0 | False |
False |
False |
|||||
| visible | bit | 1 | 1 | 0 | False |
(1) | False |
False |
Indexes
1SQL Script
Copy
CREATE TABLE dbo.led_cliente_contratista (
cliente int NOT NULL,
tipo_contratista int NOT NULL,
tipo_doc smallint NOT NULL,
ci_killer tinyint NULL,
cc_killer tinyint NULL,
verificacion varchar(1) NULL,
tipo_alta tinyint NULL,
tipo_baja tinyint NULL,
activo tinyint NULL,
dias_tolerancia tinyint NULL,
requiere_upload tinyint NULL,
estado_inicial varchar(1) NOT NULL DEFAULT ('N'),
afecta_compliance tinyint NOT NULL DEFAULT (1),
bypass_CI tinyint NULL DEFAULT (0),
old_tipo_contratista int NULL,
old_cliente int NULL,
visible bit NULL DEFAULT (1),
CONSTRAINT XPKled_cliente_contratista PRIMARY KEY NONCLUSTERED (cliente, tipo_contratista, tipo_doc) WITH (FILLFACTOR = 90)
)
ON [PRIMARY]
GO
cliente int NOT NULL,
tipo_contratista int NOT NULL,
tipo_doc smallint NOT NULL,
ci_killer tinyint NULL,
cc_killer tinyint NULL,
verificacion varchar(1) NULL,
tipo_alta tinyint NULL,
tipo_baja tinyint NULL,
activo tinyint NULL,
dias_tolerancia tinyint NULL,
requiere_upload tinyint NULL,
estado_inicial varchar(1) NOT NULL DEFAULT ('N'),
afecta_compliance tinyint NOT NULL DEFAULT (1),
bypass_CI tinyint NULL DEFAULT (0),
old_tipo_contratista int NULL,
old_cliente int NULL,
visible bit NULL DEFAULT (1),
CONSTRAINT XPKled_cliente_contratista PRIMARY KEY NONCLUSTERED (cliente, tipo_contratista, tipo_doc) WITH (FILLFACTOR = 90)
)
ON [PRIMARY]
GO
Depends On
1- FideDoc
Used By
No items found