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:52 PM |
| Last Modified | 3/6/2025 6:55:57 PM |
Columns
4Indexes
1Foreign Keys
1| Name | Columns | Description |
|---|---|---|
| FK__contratos__contr__359DCDD0 | contrato |
SQL Script
Copy
CREATE TABLE dbo.contratos_informes (
id_tipo_informe int NOT NULL,
contratados smallint NULL,
consumidos smallint NULL,
contrato smallint NOT NULL,
PRIMARY KEY NONCLUSTERED (contrato, id_tipo_informe) WITH (FILLFACTOR = 90)
)
ON [PRIMARY]
GO
ALTER TABLE dbo.contratos_informes
ADD FOREIGN KEY (contrato) REFERENCES dbo.contratos (contrato)
GO
id_tipo_informe int NOT NULL,
contratados smallint NULL,
consumidos smallint NULL,
contrato smallint NOT NULL,
PRIMARY KEY NONCLUSTERED (contrato, id_tipo_informe) WITH (FILLFACTOR = 90)
)
ON [PRIMARY]
GO
ALTER TABLE dbo.contratos_informes
ADD FOREIGN KEY (contrato) REFERENCES dbo.contratos (contrato)
GO
Depends On
1Used By
No items found