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 | False |
| 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:57 PM |
Columns
28| Key | Name | Data Type | Length | Precision | Scale | Not Null | Identity | Rule | Default | Computed | Persisted | Description |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| tipo_doc | int | 4 | 10 | 0 | True |
1 - 1 | False |
False |
||||
| nombre_tipo_doc | varchar | 50 | 0 | 0 | False |
False |
False |
|||||
| cliente | int | 4 | 10 | 0 | False |
False |
False |
|||||
| country_code | varchar | 2 | 0 | 0 | False |
False |
False |
|||||
| clase_doc | int | 4 | 10 | 0 | False |
False |
False |
|||||
| instrucciones | text | 0 | 0 | False |
False |
False |
||||||
| requiere_ciclo_ej | tinyint | 1 | 3 | 0 | False |
False |
False |
|||||
| dias_tolerancia | int | 4 | 10 | 0 | False |
False |
False |
|||||
| responsable_doc | varchar | 1 | 0 | 0 | False |
False |
False |
|||||
| es_formulario_balance | tinyint | 1 | 3 | 0 | False |
False |
False |
|||||
| requiere_upload | tinyint | 1 | 3 | 0 | False |
False |
False |
|||||
| tipo_vigencia | varchar | 1 | 0 | 0 | False |
False |
False |
|||||
| valor_vigencia | int | 4 | 10 | 0 | False |
False |
False |
|||||
| fecha_vigencia | datetime | 8 | 23 | 3 | False |
False |
False |
|||||
| dias_preaviso | int | 4 | 10 | 0 | False |
False |
False |
|||||
| max_emails_ciclo | int | 4 | 10 | 0 | False |
False |
False |
|||||
| max_llamados_ciclo | int | 4 | 10 | 0 | False |
False |
False |
|||||
| dias_entre_email | int | 4 | 10 | 0 | False |
False |
False |
|||||
| dias_entre_llamado | int | 4 | 10 | 0 | False |
False |
False |
|||||
| verificacion_visual | tinyint | 1 | 3 | 0 | False |
False |
False |
|||||
| resp_verificacion | varchar | 1 | 0 | 0 | False |
False |
False |
|||||
| modalidad_venc | varchar | 1 | 0 | 0 | False |
False |
False |
|||||
| tipo_vencimiento | varchar | 1 | 0 | 0 | False |
False |
False |
|||||
| tipo_recurrencia | tinyint | 1 | 3 | 0 | False |
False |
False |
|||||
| cantidad_periodos | tinyint | 1 | 3 | 0 | False |
False |
False |
|||||
| activo | tinyint | 1 | 3 | 0 | False |
False |
False |
|||||
| es_informe_comercial | tinyint | 1 | 3 | 0 | False |
False |
False |
|||||
| genera_activacion | tinyint | 1 | 3 | 0 | False |
False |
False |
Foreign Keys
2| Name | Columns | Description |
|---|---|---|
| R_1 | clase_doc | |
| R_38 | responsable_doc |
SQL Script
Copy
CREATE TABLE dbo.gdl_tipo_doc (
tipo_doc int IDENTITY,
nombre_tipo_doc varchar(50) NULL,
cliente int NULL,
country_code varchar(2) NULL,
clase_doc int NULL,
instrucciones text NULL,
requiere_ciclo_ej tinyint NULL,
dias_tolerancia int NULL,
responsable_doc varchar(1) NULL,
es_formulario_balance tinyint NULL,
requiere_upload tinyint NULL,
tipo_vigencia varchar(1) NULL,
valor_vigencia int NULL,
fecha_vigencia datetime NULL,
dias_preaviso int NULL,
max_emails_ciclo int NULL,
max_llamados_ciclo int NULL,
dias_entre_email int NULL,
dias_entre_llamado int NULL,
verificacion_visual tinyint NULL,
resp_verificacion varchar(1) NULL,
modalidad_venc varchar(1) NULL,
tipo_vencimiento varchar(1) NULL,
tipo_recurrencia tinyint NULL,
cantidad_periodos tinyint NULL,
activo tinyint NULL,
es_informe_comercial tinyint NULL,
genera_activacion tinyint NULL,
CONSTRAINT XPKgdl_tipo_doc PRIMARY KEY CLUSTERED (tipo_doc) WITH (FILLFACTOR = 90)
)
ON [PRIMARY]
TEXTIMAGE_ON [PRIMARY]
GO
ALTER TABLE dbo.gdl_tipo_doc
ADD CONSTRAINT R_1 FOREIGN KEY (clase_doc) REFERENCES dbo.gdl_clase_doc (clase_doc)
GO
ALTER TABLE dbo.gdl_tipo_doc
ADD CONSTRAINT R_38 FOREIGN KEY (responsable_doc) REFERENCES dbo.gdl_responsable_doc (responsable_doc)
GO
tipo_doc int IDENTITY,
nombre_tipo_doc varchar(50) NULL,
cliente int NULL,
country_code varchar(2) NULL,
clase_doc int NULL,
instrucciones text NULL,
requiere_ciclo_ej tinyint NULL,
dias_tolerancia int NULL,
responsable_doc varchar(1) NULL,
es_formulario_balance tinyint NULL,
requiere_upload tinyint NULL,
tipo_vigencia varchar(1) NULL,
valor_vigencia int NULL,
fecha_vigencia datetime NULL,
dias_preaviso int NULL,
max_emails_ciclo int NULL,
max_llamados_ciclo int NULL,
dias_entre_email int NULL,
dias_entre_llamado int NULL,
verificacion_visual tinyint NULL,
resp_verificacion varchar(1) NULL,
modalidad_venc varchar(1) NULL,
tipo_vencimiento varchar(1) NULL,
tipo_recurrencia tinyint NULL,
cantidad_periodos tinyint NULL,
activo tinyint NULL,
es_informe_comercial tinyint NULL,
genera_activacion tinyint NULL,
CONSTRAINT XPKgdl_tipo_doc PRIMARY KEY CLUSTERED (tipo_doc) WITH (FILLFACTOR = 90)
)
ON [PRIMARY]
TEXTIMAGE_ON [PRIMARY]
GO
ALTER TABLE dbo.gdl_tipo_doc
ADD CONSTRAINT R_1 FOREIGN KEY (clase_doc) REFERENCES dbo.gdl_clase_doc (clase_doc)
GO
ALTER TABLE dbo.gdl_tipo_doc
ADD CONSTRAINT R_38 FOREIGN KEY (responsable_doc) REFERENCES dbo.gdl_responsable_doc (responsable_doc)
GO