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 (~) | 9785433 |
| Created | 1/16/2018 2:43:40 PM |
| Last Modified | 5/12/2024 4:18:40 PM |
Columns
28| Key | Name | Data Type | Length | Precision | Scale | Not Null | Identity | Rule | Default | Computed | Persisted | Description |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| id_cheque | int | 4 | 10 | 0 | True |
1 - 1 | False |
False |
||||
| id_persona_firmante | int | 4 | 10 | 0 | False |
False |
False |
|||||
| cuit_firmante | varchar | 11 | 0 | 0 | True |
False |
False |
|||||
| id_persona_relacionado | int | 4 | 10 | 0 | False |
False |
False |
|||||
| Cuit_relacionado | varchar | 11 | 0 | 0 | False |
False |
False |
|||||
| nro_cheque | int | 4 | 10 | 0 | True |
False |
False |
|||||
| importe | money | 8 | 19 | 4 | True |
False |
False |
|||||
| fecha_rechazo | smalldatetime | 4 | 16 | 0 | True |
False |
False |
|||||
| id_causa | smallint | 2 | 5 | 0 | False |
False |
False |
|||||
| fecha_pago | smalldatetime | 4 | 16 | 0 | False |
False |
False |
|||||
| en_revision | bit | 1 | 1 | 0 | True |
(0) | False |
False |
||||
| multa_no_aplica | bit | 1 | 1 | 0 | True |
(0) | False |
False |
||||
| suspendido | bit | 1 | 1 | 0 | True |
(0) | False |
False |
||||
| fecha_levantamiento | smalldatetime | 4 | 16 | 0 | False |
False |
False |
|||||
| fecha_alta | smalldatetime | 4 | 16 | 0 | False |
(getdate()) | False |
False |
||||
| fecha_modificacion | smalldatetime | 4 | 16 | 0 | False |
False |
False |
|||||
| user_id_modificacion | int | 4 | 10 | 0 | False |
False |
False |
|||||
| usuarioifx | varchar | 8 | 0 | 0 | False |
False |
False |
|||||
| idifx | int | 4 | 10 | 0 | False |
False |
False |
|||||
| monitor | smalldatetime | 4 | 16 | 0 | False |
False |
False |
|||||
| id_fuente | int | 4 | 10 | 0 | False |
(0) | False |
False |
||||
| visible | bit | 1 | 1 | 0 | True |
(1) | False |
False |
||||
| source | varchar | 100 | 0 | 0 | False |
False |
False |
|||||
| created | datetime | 8 | 23 | 3 | False |
False |
False |
|||||
| created_by | datetime | 8 | 23 | 3 | False |
False |
False |
|||||
| MODIFIED | datetime | 8 | 23 | 3 | False |
False |
False |
|||||
| MODIFIED_BY | int | 4 | 10 | 0 | False |
False |
False |
|||||
| nombre_file | varchar | 150 | 0 | 0 | False |
False |
False |
Indexes
12| Key | Name | Columns | Unique | Type | Description |
|---|---|---|---|---|---|
| idx_cheqbcra20524 | cuit_firmante, visible | False |
|||
| idx_cheqbna0524 | cuit_firmante, visible, Cuit_relacionado | False |
|||
| idx_cheqbriefidcheq0524 | cuit_firmante, visible | False |
|||
| idx_cheqvisinc0524 | cuit_firmante, visible | False |
|||
| idx_grafosoc0524 | Cuit_relacionado, visible | False |
|||
| idxCheFirm0524 | Cuit_relacionado | False |
|||
| idxCheq0524 | id_cheque, cuit_firmante, nro_cheque, visible | False |
|||
| idxCheq20524 | cuit_firmante, id_causa, visible | False |
|||
| idxCheq30524 | Cuit_relacionado, id_causa, visible | False |
|||
| idxCheqNroVis0524 | cuit_firmante, nro_cheque, visible | False |
|||
| idxCheqVisRel0524 | nro_cheque | False |
|||
| idxRel0524 | Cuit_relacionado | False |
SQL Script
Copy
CREATE TABLE dbo.ChequesBCRA (
id_cheque int IDENTITY,
id_persona_firmante int NULL,
cuit_firmante varchar(11) NOT NULL,
id_persona_relacionado int NULL,
Cuit_relacionado varchar(11) NULL,
nro_cheque int NOT NULL,
importe money NOT NULL,
fecha_rechazo smalldatetime NOT NULL,
id_causa smallint NULL,
fecha_pago smalldatetime NULL,
en_revision bit NOT NULL CONSTRAINT DF_ChequesCD_revision_18 DEFAULT (0),
multa_no_aplica bit NOT NULL CONSTRAINT DF_ChequesCD_aplica_multa_18 DEFAULT (0),
suspendido bit NOT NULL CONSTRAINT DF_ChequesCD_suspendido_18 DEFAULT (0),
fecha_levantamiento smalldatetime NULL,
fecha_alta smalldatetime NULL CONSTRAINT DF_ChequesCD_Alta_18 DEFAULT (getdate()),
fecha_modificacion smalldatetime NULL,
user_id_modificacion int NULL,
usuarioifx varchar(8) NULL,
idifx int NULL,
monitor smalldatetime NULL,
id_fuente int NULL CONSTRAINT DF_ChequesCD_id_fuente_18 DEFAULT (0),
visible bit NOT NULL CONSTRAINT DF_ChequesCD_visible_18 DEFAULT (1),
source varchar(100) NULL,
created datetime NULL,
created_by datetime NULL,
MODIFIED datetime NULL,
MODIFIED_BY int NULL,
nombre_file varchar(150) NULL
)
ON [PRIMARY]
GO
CREATE INDEX idx_cheqbcra20524
ON dbo.ChequesBCRA (cuit_firmante, visible)
INCLUDE (id_cheque, Cuit_relacionado, nro_cheque, fecha_rechazo, fecha_pago, fecha_levantamiento)
WITH (FILLFACTOR = 80)
ON [PRIMARY]
GO
CREATE INDEX idx_cheqbna0524
ON dbo.ChequesBCRA (cuit_firmante, visible, Cuit_relacionado)
INCLUDE (id_cheque, nro_cheque, importe, fecha_rechazo, id_causa, fecha_pago, fecha_levantamiento)
WITH (FILLFACTOR = 80)
ON [PRIMARY]
GO
CREATE INDEX idx_cheqbriefidcheq0524
ON dbo.ChequesBCRA (cuit_firmante, visible)
INCLUDE (id_cheque, nro_cheque)
WITH (FILLFACTOR = 80)
ON [PRIMARY]
GO
CREATE INDEX idx_cheqvisinc0524
ON dbo.ChequesBCRA (cuit_firmante, visible)
INCLUDE (id_cheque, nro_cheque, fecha_rechazo, fecha_pago, fecha_levantamiento)
WITH (FILLFACTOR = 80)
ON [PRIMARY]
GO
CREATE INDEX idx_grafosoc0524
ON dbo.ChequesBCRA (Cuit_relacionado, visible)
INCLUDE (cuit_firmante, fecha_rechazo, fecha_pago, fecha_levantamiento)
WITH (FILLFACTOR = 80)
ON [PRIMARY]
GO
CREATE INDEX idxCheFirm0524
ON dbo.ChequesBCRA (Cuit_relacionado)
INCLUDE (cuit_firmante)
WITH (FILLFACTOR = 80)
ON [PRIMARY]
GO
CREATE INDEX idxCheq0524
ON dbo.ChequesBCRA (id_cheque, cuit_firmante, nro_cheque, visible)
INCLUDE (fecha_rechazo, fecha_pago, fecha_levantamiento)
WITH (FILLFACTOR = 80)
ON [PRIMARY]
GO
CREATE INDEX idxCheq20524
ON dbo.ChequesBCRA (cuit_firmante, id_causa, visible)
INCLUDE (id_cheque, nro_cheque, importe, fecha_rechazo, fecha_pago, fecha_levantamiento)
WITH (FILLFACTOR = 80)
ON [PRIMARY]
GO
CREATE INDEX idxCheq30524
ON dbo.ChequesBCRA (Cuit_relacionado, id_causa, visible)
INCLUDE (id_cheque, cuit_firmante, nro_cheque, fecha_rechazo, fecha_pago, fecha_levantamiento)
WITH (FILLFACTOR = 80)
ON [PRIMARY]
GO
CREATE INDEX idxCheqNroVis0524
ON dbo.ChequesBCRA (cuit_firmante, nro_cheque, visible)
INCLUDE (id_cheque)
WITH (FILLFACTOR = 80)
ON [PRIMARY]
GO
CREATE INDEX idxCheqVisRel0524
ON dbo.ChequesBCRA (nro_cheque)
INCLUDE (cuit_firmante, Cuit_relacionado, visible)
WITH (FILLFACTOR = 80)
ON [PRIMARY]
GO
CREATE INDEX idxRel0524
ON dbo.ChequesBCRA (Cuit_relacionado)
WITH (FILLFACTOR = 80)
ON [PRIMARY]
GO
id_cheque int IDENTITY,
id_persona_firmante int NULL,
cuit_firmante varchar(11) NOT NULL,
id_persona_relacionado int NULL,
Cuit_relacionado varchar(11) NULL,
nro_cheque int NOT NULL,
importe money NOT NULL,
fecha_rechazo smalldatetime NOT NULL,
id_causa smallint NULL,
fecha_pago smalldatetime NULL,
en_revision bit NOT NULL CONSTRAINT DF_ChequesCD_revision_18 DEFAULT (0),
multa_no_aplica bit NOT NULL CONSTRAINT DF_ChequesCD_aplica_multa_18 DEFAULT (0),
suspendido bit NOT NULL CONSTRAINT DF_ChequesCD_suspendido_18 DEFAULT (0),
fecha_levantamiento smalldatetime NULL,
fecha_alta smalldatetime NULL CONSTRAINT DF_ChequesCD_Alta_18 DEFAULT (getdate()),
fecha_modificacion smalldatetime NULL,
user_id_modificacion int NULL,
usuarioifx varchar(8) NULL,
idifx int NULL,
monitor smalldatetime NULL,
id_fuente int NULL CONSTRAINT DF_ChequesCD_id_fuente_18 DEFAULT (0),
visible bit NOT NULL CONSTRAINT DF_ChequesCD_visible_18 DEFAULT (1),
source varchar(100) NULL,
created datetime NULL,
created_by datetime NULL,
MODIFIED datetime NULL,
MODIFIED_BY int NULL,
nombre_file varchar(150) NULL
)
ON [PRIMARY]
GO
CREATE INDEX idx_cheqbcra20524
ON dbo.ChequesBCRA (cuit_firmante, visible)
INCLUDE (id_cheque, Cuit_relacionado, nro_cheque, fecha_rechazo, fecha_pago, fecha_levantamiento)
WITH (FILLFACTOR = 80)
ON [PRIMARY]
GO
CREATE INDEX idx_cheqbna0524
ON dbo.ChequesBCRA (cuit_firmante, visible, Cuit_relacionado)
INCLUDE (id_cheque, nro_cheque, importe, fecha_rechazo, id_causa, fecha_pago, fecha_levantamiento)
WITH (FILLFACTOR = 80)
ON [PRIMARY]
GO
CREATE INDEX idx_cheqbriefidcheq0524
ON dbo.ChequesBCRA (cuit_firmante, visible)
INCLUDE (id_cheque, nro_cheque)
WITH (FILLFACTOR = 80)
ON [PRIMARY]
GO
CREATE INDEX idx_cheqvisinc0524
ON dbo.ChequesBCRA (cuit_firmante, visible)
INCLUDE (id_cheque, nro_cheque, fecha_rechazo, fecha_pago, fecha_levantamiento)
WITH (FILLFACTOR = 80)
ON [PRIMARY]
GO
CREATE INDEX idx_grafosoc0524
ON dbo.ChequesBCRA (Cuit_relacionado, visible)
INCLUDE (cuit_firmante, fecha_rechazo, fecha_pago, fecha_levantamiento)
WITH (FILLFACTOR = 80)
ON [PRIMARY]
GO
CREATE INDEX idxCheFirm0524
ON dbo.ChequesBCRA (Cuit_relacionado)
INCLUDE (cuit_firmante)
WITH (FILLFACTOR = 80)
ON [PRIMARY]
GO
CREATE INDEX idxCheq0524
ON dbo.ChequesBCRA (id_cheque, cuit_firmante, nro_cheque, visible)
INCLUDE (fecha_rechazo, fecha_pago, fecha_levantamiento)
WITH (FILLFACTOR = 80)
ON [PRIMARY]
GO
CREATE INDEX idxCheq20524
ON dbo.ChequesBCRA (cuit_firmante, id_causa, visible)
INCLUDE (id_cheque, nro_cheque, importe, fecha_rechazo, fecha_pago, fecha_levantamiento)
WITH (FILLFACTOR = 80)
ON [PRIMARY]
GO
CREATE INDEX idxCheq30524
ON dbo.ChequesBCRA (Cuit_relacionado, id_causa, visible)
INCLUDE (id_cheque, cuit_firmante, nro_cheque, fecha_rechazo, fecha_pago, fecha_levantamiento)
WITH (FILLFACTOR = 80)
ON [PRIMARY]
GO
CREATE INDEX idxCheqNroVis0524
ON dbo.ChequesBCRA (cuit_firmante, nro_cheque, visible)
INCLUDE (id_cheque)
WITH (FILLFACTOR = 80)
ON [PRIMARY]
GO
CREATE INDEX idxCheqVisRel0524
ON dbo.ChequesBCRA (nro_cheque)
INCLUDE (cuit_firmante, Cuit_relacionado, visible)
WITH (FILLFACTOR = 80)
ON [PRIMARY]
GO
CREATE INDEX idxRel0524
ON dbo.ChequesBCRA (Cuit_relacionado)
WITH (FILLFACTOR = 80)
ON [PRIMARY]
GO
Depends On
1- Fidelitas
Used By
78- dbo.API_BCRA
- dbo.api_buscar_vinculaciones
- dbo.backend_alta_cheques_rechazados
- dbo.backend_cheques_rechazados
- dbo.backend_modificacion_cheques_rechazados
- dbo.backend_verificar_cheques_gemelos
- dbo.backend_vigente_cheques_rechazados
- dbo.CHEQUES_insertar
- dbo.cheques_insertar_altas_procesadas
- dbo.cheques_modificar_por_altas
- dbo.cheques_modificar_visible_por_baja
- dbo.cheques_obtener_por_numero_de_cheque
- dbo.ChequesBCRA_estadisticas_
- dbo.control_fuente
- dbo.grafico_card_cheques_rechazados
- dbo.grafo_sociedades
- dbo.grafo_sociedades_claudio
- dbo.LN_alertas_cheques
- dbo.LN_alertas_cheques_cliente
- dbo.LN_alertas_cheques_cliente_montos
- dbo.LN_alertas_obtener_cheques
- dbo.LN_alertas_obtener_cheques_cliente
- dbo.LN_alertas_obtener_vinculaciones
- dbo.LN_contrapartes_queue_
- dbo.LN_COUNT_CHEQUES
- dbo.LN_enriesgo
- dbo.LN_Reporte_Novedades_Monitoreo
- dbo.LN_score_alertas
- dbo.LN_score_alertas_12dic2019
- dbo.LN_score_alertas_16082023
- dbo.LN_score_alertas_161219
- dbo.LN_score_alertas_16mar2020
- dbo.LN_score_alertas_ant
- dbo.LN_score_alertas_ant2
- dbo.LN_score_alertas_antes_de_12dic2019
- dbo.LN_score_alertas_debug
- dbo.LN_score_alertas_modificado
- dbo.LN_score_alertas_new
- dbo.LN_score_alertas_p
- dbo.LN_score_alertas_prueba
- dbo.monitoreos_cheques
- dbo.monitoreos_cheques_99
- dbo.monitoreos_cheques_ant
- dbo.monitoreos_cheques_prueba
- dbo.obtener_card_cheques_rechazados
- dbo.obtener_cheques
- dbo.obtener_cheques_con_top_limitado
- dbo.obtener_cheques_vinculaciones_todas
- dbo.obtener_cuadro_cheques
- dbo.obtener_cuadro_cheques2
- dbo.obtener_info_novedades
- dbo.obtener_no_cheqrech_desde
- dbo.obtener_novedad_cheque
- dbo.obtener_score
- dbo.obtener_score_dev
- dbo.obtener_sintomas_de_vitalidad
- dbo.obtener_sintomas_de_vitalidad_DEV
- dbo.obtener_status_bancario
- dbo.obtener_status_bancario_old1
- dbo.obtener_status_bancario_old2
- dbo.obtener_status_bancario_old3
- dbo.obtener_vinculados_segun_BCRA
- dbo.procesamiento_insur
- dbo.procesamiento_insur_continuacion
- dbo.prueba_procesamiento_insur
- dbo.smart_alert_monitoreo
- dbo.sp_monitoreo_resultados
- dbo.sp_procesos_cuit_enrichment
- dbo.sp_procesos_cuit_enrichment_ant
- dbo.sp_procesos_cuit_enrichment_personas_relacionadas
- dbo.sp_procesos_cuit_enrichment_simples_filtros
- dbo.sp_procesos_cuit_enrichment2
- dbo.Task_RunTareaEventual
- dbo.ws_estructura_societaria
- dbo.ws_obtener_cuadro_cheques
- dbo.ws_obtener_cuadro_cheques_new
- dbo.ws_obtener_cuadro_cheques_new2
- dbo.ws_tiene_cheques