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:55 PM |
| Last Modified | 3/6/2025 6:55:57 PM |
Columns
11| Key | Name | Data Type | Length | Precision | Scale | Not Null | Identity | Rule | Default | Computed | Persisted | Description |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| nombre_variable | varchar | 200 | 0 | 0 | True |
False |
False |
|||||
| tipo_variable | int | 4 | 10 | 0 | False |
False |
False |
|||||
| id_tipo_informe | int | 4 | 10 | 0 | True |
False |
False |
|||||
| expresion_validacion | varchar | 200 | 0 | 0 | False |
False |
False |
|||||
| expresion_default | varchar | 200 | 0 | 0 | False |
False |
False |
|||||
| etiqueta | varchar | 200 | 0 | 0 | False |
False |
False |
|||||
| descripcion | varchar | 255 | 0 | 0 | False |
False |
False |
|||||
| texto_ayuda | text | 0 | 0 | False |
False |
False |
||||||
| tipo_constante | int | 4 | 10 | 0 | False |
False |
False |
|||||
| columna_constante | varchar | 20 | 0 | 0 | False |
False |
False |
|||||
| orden | smallint | 2 | 5 | 0 | False |
False |
False |
Indexes
1Foreign Keys
3| Name | Columns | Description |
|---|---|---|
| FK__tipos_inf__id_ti__0A7E65A1 | id_tipo_informe | |
| FK__tipos_inf__tipo___0B7289DA | tipo_constante | |
| FK__tipos_inf__tipo___0C66AE13 | tipo_variable |
SQL Script
Copy
CREATE TABLE dbo.tipos_informe_variables (
nombre_variable varchar(200) NOT NULL,
tipo_variable int NULL,
id_tipo_informe int NOT NULL,
expresion_validacion varchar(200) NULL,
expresion_default varchar(200) NULL,
etiqueta varchar(200) NULL,
descripcion varchar(255) NULL,
texto_ayuda text NULL,
tipo_constante int NULL,
columna_constante varchar(20) NULL,
orden smallint NULL,
PRIMARY KEY NONCLUSTERED (id_tipo_informe, nombre_variable) WITH (FILLFACTOR = 90)
)
ON [PRIMARY]
TEXTIMAGE_ON [PRIMARY]
GO
ALTER TABLE dbo.tipos_informe_variables
ADD FOREIGN KEY (id_tipo_informe) REFERENCES dbo.tipos_informe (id_tipo_informe)
GO
ALTER TABLE dbo.tipos_informe_variables
ADD FOREIGN KEY (tipo_constante) REFERENCES dbo.tipos_constante (tipo_constante)
GO
ALTER TABLE dbo.tipos_informe_variables
ADD FOREIGN KEY (tipo_variable) REFERENCES dbo.tipos_variable (tipo_variable)
GO
nombre_variable varchar(200) NOT NULL,
tipo_variable int NULL,
id_tipo_informe int NOT NULL,
expresion_validacion varchar(200) NULL,
expresion_default varchar(200) NULL,
etiqueta varchar(200) NULL,
descripcion varchar(255) NULL,
texto_ayuda text NULL,
tipo_constante int NULL,
columna_constante varchar(20) NULL,
orden smallint NULL,
PRIMARY KEY NONCLUSTERED (id_tipo_informe, nombre_variable) WITH (FILLFACTOR = 90)
)
ON [PRIMARY]
TEXTIMAGE_ON [PRIMARY]
GO
ALTER TABLE dbo.tipos_informe_variables
ADD FOREIGN KEY (id_tipo_informe) REFERENCES dbo.tipos_informe (id_tipo_informe)
GO
ALTER TABLE dbo.tipos_informe_variables
ADD FOREIGN KEY (tipo_constante) REFERENCES dbo.tipos_constante (tipo_constante)
GO
ALTER TABLE dbo.tipos_informe_variables
ADD FOREIGN KEY (tipo_variable) REFERENCES dbo.tipos_variable (tipo_variable)
GO
Depends On
4Used By
No items found