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 (~) | 0 |
| Created | 3/6/2025 6:55:54 PM |
| Last Modified | 3/6/2025 6:55:56 PM |
Columns
16| Key | Name | Data Type | Length | Precision | Scale | Not Null | Identity | Rule | Default | Computed | Persisted | Description |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| subcontratista | int | 4 | 10 | 0 | True |
False |
False |
|||||
| contratista | int | 4 | 10 | 0 | False |
False |
False |
|||||
| tipo_alta | tinyint | 1 | 3 | 0 | False |
False |
False |
|||||
| tipo_baja | tinyint | 1 | 3 | 0 | False |
False |
False |
|||||
| periodo | int | 4 | 10 | 0 | True |
False |
False |
|||||
| contratista_1 | int | 4 | 10 | 0 | False |
False |
False |
|||||
| fecha_afectacion | datetime | 8 | 23 | 3 | False |
(getdate()) | False |
False |
||||
| ratificado | tinyint | 1 | 3 | 0 | False |
(0) | False |
False |
||||
| ratificado_por | int | 4 | 10 | 0 | False |
False |
False |
|||||
| fecha_ratificado | datetime | 8 | 23 | 3 | False |
False |
False |
|||||
| ratif_empleados | tinyint | 1 | 3 | 0 | False |
False |
False |
|||||
| ratif_empleados_fecha | datetime | 8 | 23 | 3 | False |
False |
False |
|||||
| ratif_empleados_usuario | int | 4 | 10 | 0 | False |
False |
False |
|||||
| ratif_vehiculos | tinyint | 1 | 3 | 0 | False |
False |
False |
|||||
| ratif_vehiculos_fecha | datetime | 8 | 23 | 3 | False |
False |
False |
|||||
| ratif_vehiculos_usuario | int | 4 | 10 | 0 | False |
False |
False |
Indexes
1SQL Script
Copy
CREATE TABLE dbo.led_subcontratista_periodo (
subcontratista int NOT NULL,
contratista int NULL,
tipo_alta tinyint NULL,
tipo_baja tinyint NULL,
periodo int NOT NULL,
contratista_1 int NULL,
fecha_afectacion datetime NULL DEFAULT (getdate()),
ratificado tinyint NULL DEFAULT (0),
ratificado_por int NULL,
fecha_ratificado datetime NULL,
ratif_empleados tinyint NULL,
ratif_empleados_fecha datetime NULL,
ratif_empleados_usuario int NULL,
ratif_vehiculos tinyint NULL,
ratif_vehiculos_fecha datetime NULL,
ratif_vehiculos_usuario int NULL,
CONSTRAINT XPKled_subcontratista_periodo PRIMARY KEY NONCLUSTERED (subcontratista, periodo) WITH (FILLFACTOR = 90)
)
ON [PRIMARY]
GO
subcontratista int NOT NULL,
contratista int NULL,
tipo_alta tinyint NULL,
tipo_baja tinyint NULL,
periodo int NOT NULL,
contratista_1 int NULL,
fecha_afectacion datetime NULL DEFAULT (getdate()),
ratificado tinyint NULL DEFAULT (0),
ratificado_por int NULL,
fecha_ratificado datetime NULL,
ratif_empleados tinyint NULL,
ratif_empleados_fecha datetime NULL,
ratif_empleados_usuario int NULL,
ratif_vehiculos tinyint NULL,
ratif_vehiculos_fecha datetime NULL,
ratif_vehiculos_usuario int NULL,
CONSTRAINT XPKled_subcontratista_periodo PRIMARY KEY NONCLUSTERED (subcontratista, periodo) WITH (FILLFACTOR = 90)
)
ON [PRIMARY]
GO
Depends On
No items found
Used By
No items found