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:56 PM |
Columns
42| Key | Name | Data Type | Length | Precision | Scale | Not Null | Identity | Rule | Default | Computed | Persisted | Description |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| doc_id | bigint | 8 | 19 | 0 | True |
1 - 1 | False |
False |
||||
| tipo_doc | smallint | 2 | 5 | 0 | False |
False |
False |
|||||
| estado_doc | varchar | 1 | 0 | 0 | False |
False |
False |
|||||
| led_seccion | varchar | 1 | 0 | 0 | False |
False |
False |
|||||
| cliente | int | 4 | 10 | 0 | False |
False |
False |
|||||
| contratista | int | 4 | 10 | 0 | False |
False |
False |
|||||
| empleado | int | 4 | 10 | 0 | False |
False |
False |
|||||
| vehiculo | int | 4 | 10 | 0 | False |
False |
False |
|||||
| ingresado | datetime | 8 | 23 | 3 | False |
False |
False |
|||||
| ingresado_por | int | 4 | 10 | 0 | False |
False |
False |
|||||
| verificado | datetime | 8 | 23 | 3 | False |
False |
False |
|||||
| verificado_por | int | 4 | 10 | 0 | False |
False |
False |
|||||
| rechazado | datetime | 8 | 23 | 3 | False |
False |
False |
|||||
| rechazado_por | int | 4 | 10 | 0 | False |
False |
False |
|||||
| fecha_vigencia | datetime | 8 | 23 | 3 | False |
False |
False |
|||||
| texto_rechazo | varchar | 250 | 0 | 0 | False |
False |
False |
|||||
| doc_log | text | 0 | 0 | False |
False |
False |
||||||
| periodo | int | 4 | 10 | 0 | False |
False |
False |
|||||
| contratista_1 | int | 4 | 10 | 0 | False |
False |
False |
|||||
| grupo_doc | int | 4 | 10 | 0 | False |
False |
False |
|||||
| insertado | datetime | 8 | 23 | 3 | False |
(getdate()) | False |
False |
||||
| fecha_tolerancia | datetime | 8 | 23 | 3 | False |
False |
False |
|||||
| compliance_doc | varchar | 1 | 0 | 0 | False |
False |
False |
|||||
| doc_id_lista | int | 4 | 10 | 0 | False |
False |
False |
|||||
| aprobacion_parcial | tinyint | 1 | 3 | 0 | False |
False |
False |
|||||
| notificacion | int | 4 | 10 | 0 | False |
False |
False |
|||||
| parcial_actualizado | tinyint | 1 | 3 | 0 | False |
(0) | False |
False |
||||
| reapertura_por_alta | tinyint | 1 | 3 | 0 | False |
False |
False |
|||||
| file_path | varchar | 512 | 0 | 0 | False |
False |
False |
|||||
| replicated_doc_id | bigint | 8 | 19 | 0 | False |
False |
False |
|||||
| sync_file | bit | 1 | 1 | 0 | False |
(0) | False |
False |
||||
| file_path2 | varchar | 512 | 0 | 0 | False |
False |
False |
|||||
| existe | bit | 1 | 1 | 0 | True |
(1) | False |
False |
||||
| last_modified | datetime | 8 | 23 | 3 | False |
(getdate()) | False |
False |
||||
| cuit_found | text | 0 | 0 | False |
False |
False |
||||||
| doc_version | tinyint | 1 | 3 | 0 | False |
(0) | False |
False |
||||
| task_id | int | 4 | 10 | 0 | False |
False |
False |
|||||
| task_procesado | bit | 1 | 1 | 0 | False |
False |
False |
|||||
| status_doc | varchar | 1 | 0 | 0 | False |
False |
False |
|||||
| estado_previo_bkp | varchar | 1 | 0 | 0 | False |
False |
False |
|||||
| aprobado_masivo | bit | 1 | 1 | 0 | False |
False |
False |
|||||
| fecha_aprobacion_masiva | datetime | 8 | 23 | 3 | False |
False |
False |
SQL Script
Copy
CREATE TABLE dbo.led_docs (
doc_id bigint IDENTITY,
tipo_doc smallint NULL,
estado_doc varchar(1) NULL,
led_seccion varchar(1) NULL,
cliente int NULL,
contratista int NULL,
empleado int NULL,
vehiculo int NULL,
ingresado datetime NULL,
ingresado_por int NULL,
verificado datetime NULL,
verificado_por int NULL,
rechazado datetime NULL,
rechazado_por int NULL,
fecha_vigencia datetime NULL,
texto_rechazo varchar(250) NULL,
doc_log text NULL,
periodo int NULL,
contratista_1 int NULL,
grupo_doc int NULL,
insertado datetime NULL DEFAULT (getdate()),
fecha_tolerancia datetime NULL,
compliance_doc varchar(1) NULL,
doc_id_lista int NULL,
aprobacion_parcial tinyint NULL,
notificacion int NULL,
parcial_actualizado tinyint NULL DEFAULT (0),
reapertura_por_alta tinyint NULL,
file_path varchar(512) NULL,
replicated_doc_id bigint NULL,
sync_file bit NULL DEFAULT (0),
file_path2 varchar(512) NULL,
existe bit NOT NULL DEFAULT (1),
last_modified datetime NULL DEFAULT (getdate()),
cuit_found text NULL,
doc_version tinyint NULL DEFAULT (0),
task_id int NULL,
task_procesado bit NULL,
status_doc varchar(1) NULL,
estado_previo_bkp varchar(1) NULL,
aprobado_masivo bit NULL,
fecha_aprobacion_masiva datetime NULL,
CONSTRAINT XPKLedDocs032018 PRIMARY KEY CLUSTERED (doc_id) WITH (FILLFACTOR = 80)
)
ON [PRIMARY]
TEXTIMAGE_ON [PRIMARY]
GO
doc_id bigint IDENTITY,
tipo_doc smallint NULL,
estado_doc varchar(1) NULL,
led_seccion varchar(1) NULL,
cliente int NULL,
contratista int NULL,
empleado int NULL,
vehiculo int NULL,
ingresado datetime NULL,
ingresado_por int NULL,
verificado datetime NULL,
verificado_por int NULL,
rechazado datetime NULL,
rechazado_por int NULL,
fecha_vigencia datetime NULL,
texto_rechazo varchar(250) NULL,
doc_log text NULL,
periodo int NULL,
contratista_1 int NULL,
grupo_doc int NULL,
insertado datetime NULL DEFAULT (getdate()),
fecha_tolerancia datetime NULL,
compliance_doc varchar(1) NULL,
doc_id_lista int NULL,
aprobacion_parcial tinyint NULL,
notificacion int NULL,
parcial_actualizado tinyint NULL DEFAULT (0),
reapertura_por_alta tinyint NULL,
file_path varchar(512) NULL,
replicated_doc_id bigint NULL,
sync_file bit NULL DEFAULT (0),
file_path2 varchar(512) NULL,
existe bit NOT NULL DEFAULT (1),
last_modified datetime NULL DEFAULT (getdate()),
cuit_found text NULL,
doc_version tinyint NULL DEFAULT (0),
task_id int NULL,
task_procesado bit NULL,
status_doc varchar(1) NULL,
estado_previo_bkp varchar(1) NULL,
aprobado_masivo bit NULL,
fecha_aprobacion_masiva datetime NULL,
CONSTRAINT XPKLedDocs032018 PRIMARY KEY CLUSTERED (doc_id) WITH (FILLFACTOR = 80)
)
ON [PRIMARY]
TEXTIMAGE_ON [PRIMARY]
GO
Depends On
1- FideDoc
Used By
No items found