dbo.ChequesBCRA

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

Depends On

1
  • Fidelitas

Used By

78