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 (~) | 1109669 |
| Created | 7/27/2018 2:51:15 PM |
| Last Modified | 6/4/2022 10:15:14 PM |
Columns
9| Key | Name | Data Type | Length | Precision | Scale | Not Null | Identity | Rule | Default | Computed | Persisted | Description |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| proceso | varchar | 50 | 0 | 0 | False |
False |
False |
|||||
| cuit | varchar | 20 | 0 | 0 | False |
False |
False |
|||||
| fecha | date | 3 | 10 | 0 | False |
False |
False |
|||||
| procesado | bit | 1 | 1 | 0 | False |
False |
False |
|||||
| fecha_proceso | datetime | 8 | 23 | 3 | False |
False |
False |
|||||
| idreg | int | 4 | 10 | 0 | True |
1 - 1 | False |
False |
||||
| ierror | bit | 1 | 1 | 0 | False |
(0) | False |
False |
||||
| prioridad | smallint | 2 | 5 | 0 | False |
(10) | False |
False |
||||
| id_taken | int | 4 | 10 | 0 | False |
(0) | False |
False |
Indexes
7| Key | Name | Columns | Unique | Type | Description |
|---|---|---|---|---|---|
| idxConsultarAfip | procesado, fecha_proceso | False |
|||
| idxConsultarAFip2022 | id_taken | False |
|||
| idxConsultarAfip3 | proceso | False |
|||
| idxConsultarAfipProceso | proceso | False |
|||
| idxConsultarAfipProceso2 | proceso | False |
|||
| idxConsultarAfipxToken | idreg | False |
|||
| idxCuitproceso | cuit, proceso | False |
SQL Script
Copy
CREATE TABLE dbo.consultar_afip (
proceso varchar(50) NULL,
cuit varchar(20) NULL,
fecha date NULL,
procesado bit NULL,
fecha_proceso datetime NULL,
idreg int IDENTITY,
ierror bit NULL DEFAULT (0),
prioridad smallint NULL DEFAULT (10),
id_taken int NULL DEFAULT (0)
)
ON [PRIMARY]
GO
CREATE INDEX idxConsultarAfip
ON dbo.consultar_afip (procesado, fecha_proceso)
WITH (FILLFACTOR = 80)
ON [PRIMARY]
GO
CREATE INDEX idxConsultarAFip2022
ON dbo.consultar_afip (id_taken)
INCLUDE (proceso, cuit, fecha, procesado, idreg, ierror, prioridad)
WITH (FILLFACTOR = 80)
ON [PRIMARY]
GO
CREATE INDEX idxConsultarAfip3
ON dbo.consultar_afip (proceso)
INCLUDE (cuit, fecha, procesado, fecha_proceso, idreg, ierror)
WITH (FILLFACTOR = 80)
ON [PRIMARY]
GO
CREATE INDEX idxConsultarAfipProceso
ON dbo.consultar_afip (proceso)
INCLUDE (cuit)
WITH (FILLFACTOR = 80)
ON [PRIMARY]
GO
CREATE INDEX idxConsultarAfipProceso2
ON dbo.consultar_afip (proceso)
INCLUDE (procesado)
WITH (FILLFACTOR = 80)
ON [PRIMARY]
GO
CREATE INDEX idxConsultarAfipxToken
ON dbo.consultar_afip (idreg)
INCLUDE (procesado, id_taken)
WITH (FILLFACTOR = 80)
ON [PRIMARY]
GO
CREATE INDEX idxCuitproceso
ON dbo.consultar_afip (cuit, proceso)
WITH (FILLFACTOR = 80)
ON [PRIMARY]
GO
proceso varchar(50) NULL,
cuit varchar(20) NULL,
fecha date NULL,
procesado bit NULL,
fecha_proceso datetime NULL,
idreg int IDENTITY,
ierror bit NULL DEFAULT (0),
prioridad smallint NULL DEFAULT (10),
id_taken int NULL DEFAULT (0)
)
ON [PRIMARY]
GO
CREATE INDEX idxConsultarAfip
ON dbo.consultar_afip (procesado, fecha_proceso)
WITH (FILLFACTOR = 80)
ON [PRIMARY]
GO
CREATE INDEX idxConsultarAFip2022
ON dbo.consultar_afip (id_taken)
INCLUDE (proceso, cuit, fecha, procesado, idreg, ierror, prioridad)
WITH (FILLFACTOR = 80)
ON [PRIMARY]
GO
CREATE INDEX idxConsultarAfip3
ON dbo.consultar_afip (proceso)
INCLUDE (cuit, fecha, procesado, fecha_proceso, idreg, ierror)
WITH (FILLFACTOR = 80)
ON [PRIMARY]
GO
CREATE INDEX idxConsultarAfipProceso
ON dbo.consultar_afip (proceso)
INCLUDE (cuit)
WITH (FILLFACTOR = 80)
ON [PRIMARY]
GO
CREATE INDEX idxConsultarAfipProceso2
ON dbo.consultar_afip (proceso)
INCLUDE (procesado)
WITH (FILLFACTOR = 80)
ON [PRIMARY]
GO
CREATE INDEX idxConsultarAfipxToken
ON dbo.consultar_afip (idreg)
INCLUDE (procesado, id_taken)
WITH (FILLFACTOR = 80)
ON [PRIMARY]
GO
CREATE INDEX idxCuitproceso
ON dbo.consultar_afip (cuit, proceso)
WITH (FILLFACTOR = 80)
ON [PRIMARY]
GO
Depends On
1- Fidelitas
Used By
12- dbo.AFIP_GET_BATCH_NOCTURNO_1
- dbo.AFIP_GET_BATCH_NOCTURNO_ID
- dbo.AFIP_GET_BATCH_NOCTURNO_REVISAR
- dbo.AFIP_UPD_BATCH_NOCTURNO
- dbo.AfipBatchInsert
- dbo.AGB_masivos_insertar
- dbo.LN_reporte_subcontratistas_amx_mensual
- dbo.procesos_masivos_pendientes
- dbo.screening_insertar
- dbo.sp_posiciones_fijas_cuit_a_afip
- dbo.sp_proceso_la_estrella
- dbo.Task_RegeneraImperiumx30Minutos