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 (~) | 22638933 |
| Created | 7/21/2017 2:55:26 PM |
| Last Modified | 7/22/2019 9:17:44 AM |
Columns
4| Key | Name | Data Type | Length | Precision | Scale | Not Null | Identity | Rule | Default | Computed | Persisted | Description |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| id_consultado | int | 4 | 10 | 0 | True |
1 - 1 | False |
False |
||||
| identificacion | varchar | 20 | 0 | 0 | True |
False |
False |
|||||
| fecha | date | 3 | 10 | 0 | True |
(getdate()) | False |
False |
||||
| servicio | varchar | 20 | 0 | 0 | False |
False |
False |
Indexes
2| Key | Name | Columns | Unique | Type | Description |
|---|---|---|---|---|---|
| ConsultasAfip | fecha | False |
|||
| idxConsultarAfip | identificacion, servicio, fecha | False |
SQL Script
Copy
CREATE TABLE dbo.servicios_externos_cuits_consultados (
id_consultado int IDENTITY,
identificacion varchar(20) NOT NULL,
fecha date NOT NULL CONSTRAINT DF_servicios_externos_cuits_consultados_fecha DEFAULT (getdate()),
servicio varchar(20) NULL
)
ON [PRIMARY]
GO
CREATE INDEX ConsultasAfip
ON dbo.servicios_externos_cuits_consultados (fecha)
INCLUDE (identificacion)
WITH (FILLFACTOR = 80)
ON [PRIMARY]
GO
CREATE INDEX idxConsultarAfip
ON dbo.servicios_externos_cuits_consultados (identificacion, servicio, fecha)
WITH (FILLFACTOR = 80)
ON [PRIMARY]
GO
id_consultado int IDENTITY,
identificacion varchar(20) NOT NULL,
fecha date NOT NULL CONSTRAINT DF_servicios_externos_cuits_consultados_fecha DEFAULT (getdate()),
servicio varchar(20) NULL
)
ON [PRIMARY]
GO
CREATE INDEX ConsultasAfip
ON dbo.servicios_externos_cuits_consultados (fecha)
INCLUDE (identificacion)
WITH (FILLFACTOR = 80)
ON [PRIMARY]
GO
CREATE INDEX idxConsultarAfip
ON dbo.servicios_externos_cuits_consultados (identificacion, servicio, fecha)
WITH (FILLFACTOR = 80)
ON [PRIMARY]
GO
Depends On
1- Fidelitas