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 (~) | 65759 |
| Created | 6/21/2017 12:28:10 PM |
| Last Modified | 6/19/2022 5:29:03 PM |
Columns
31| Key | Name | Data Type | Length | Precision | Scale | Not Null | Identity | Rule | Default | Computed | Persisted | Description |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| doc_id | bigint | 8 | 19 | 0 | True |
False |
False |
|||||
| doc_version | tinyint | 1 | 3 | 0 | True |
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 |
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 |
False |
False |
|||||
| reapertura_por_alta | tinyint | 1 | 3 | 0 | False |
False |
False |
|||||
| replicated_doc_id | bigint | 8 | 19 | 0 | False |
False |
False |
|||||
| cuit_found | text | 0 | 0 | False |
False |
False |
Indexes
3SQL Script
Copy
CREATE TABLE dbo.led_docs_aux (
doc_id bigint NOT NULL,
doc_version tinyint NOT NULL,
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,
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,
reapertura_por_alta tinyint NULL,
replicated_doc_id bigint NULL,
cuit_found text NULL,
CONSTRAINT XPKLEDDocsAUX PRIMARY KEY CLUSTERED (doc_id, doc_version) WITH (FILLFACTOR = 90)
)
ON [PRIMARY]
TEXTIMAGE_ON [PRIMARY]
GO
CREATE INDEX idxImperiumVerifDocsAux
ON dbo.led_docs_aux (estado_doc, rechazado_por, rechazado)
INCLUDE (doc_id, doc_version, ingresado, verificado, fecha_tolerancia, aprobacion_parcial, parcial_actualizado, reapertura_por_alta)
WITH (FILLFACTOR = 20)
ON [PRIMARY]
GO
CREATE INDEX idxLedDocsAux_Estado
ON dbo.led_docs_aux (estado_doc)
WITH (FILLFACTOR = 80)
ON [PRIMARY]
GO
doc_id bigint NOT NULL,
doc_version tinyint NOT NULL,
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,
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,
reapertura_por_alta tinyint NULL,
replicated_doc_id bigint NULL,
cuit_found text NULL,
CONSTRAINT XPKLEDDocsAUX PRIMARY KEY CLUSTERED (doc_id, doc_version) WITH (FILLFACTOR = 90)
)
ON [PRIMARY]
TEXTIMAGE_ON [PRIMARY]
GO
CREATE INDEX idxImperiumVerifDocsAux
ON dbo.led_docs_aux (estado_doc, rechazado_por, rechazado)
INCLUDE (doc_id, doc_version, ingresado, verificado, fecha_tolerancia, aprobacion_parcial, parcial_actualizado, reapertura_por_alta)
WITH (FILLFACTOR = 20)
ON [PRIMARY]
GO
CREATE INDEX idxLedDocsAux_Estado
ON dbo.led_docs_aux (estado_doc)
WITH (FILLFACTOR = 80)
ON [PRIMARY]
GO
Depends On
1- Fidelitas
Used By
33- dbo.backend_documentos
- dbo.backend_verificacion_docs
- dbo.backend_verificacion_docs_10022022
- dbo.backend_verificacion_docs_2022
- dbo.backend_verificacion_docs_24022022
- dbo.backend_verificacion_docsAGB
- dbo.backend_verificacion_led_docs
- dbo.Documentos_Backend
- dbo.Imperium_Baja_Automatica_Docs
- dbo.Imperium_Baja_Automatica_Docs_Aux
- dbo.Imperium_contratista_doc_upload_reemplazo
- dbo.Imperium_data_doc
- dbo.Imperium_Datos_Documento
- dbo.Imperium_Datos_Documento_Reemplazo
- dbo.Imperium_Datos_Documentos_Recursos
- dbo.Imperium_Documentos_Recurso
- dbo.Imperium_Reporte_Altas_Bajas_Doc
- dbo.Imperium_Reporte_Docs_Pendientes
- dbo.Imperium_Reporte_Pendientes_Complejidad_Plazo
- dbo.Imperium_Verif_Docs
- dbo.Imperium_Verif_Docs_BKP
- dbo.Imperium_Verif_Docs_Dev2
- dbo.Imperium_Verif_Docs_VR
- dbo.Imperium_Verificar_Documento
- dbo.Imperium_vista_admin
- dbo.Imperium_vista_admin_2
- dbo.Imperium_vista_admin_agb
- dbo.Imperium_vista_admin_PD
- dbo.Imperium_vista_admin_PD_AGB
- dbo.Imperium_vista_admin_PD_AGB2
- dbo.Imperium_vista_cliente
- dbo.Imperium_vista_contratista_Alta_Empleado
- dbo.Imperium_vista_contratista_Alta_Vehiculo