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:53 PM |
| Last Modified | 3/6/2025 6:55:57 PM |
Columns
17| Key | Name | Data Type | Length | Precision | Scale | Not Null | Identity | Rule | Default | Computed | Persisted | Description |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| campo_tipo_doc | int | 4 | 10 | 0 | True |
False |
False |
|||||
| tipo_doc | int | 4 | 10 | 0 | True |
False |
False |
|||||
| tipo_campo_doc | int | 4 | 10 | 0 | False |
False |
False |
|||||
| longitud | int | 4 | 10 | 0 | False |
False |
False |
|||||
| nombre_campo | varchar | 50 | 0 | 0 | False |
False |
False |
|||||
| titulo_campo | varchar | 50 | 0 | 0 | False |
False |
False |
|||||
| ayuda | text | 0 | 0 | False |
False |
False |
||||||
| script_validacion | text | 0 | 0 | False |
False |
False |
||||||
| cfm_validacion | text | 0 | 0 | False |
False |
False |
||||||
| siguiente_linea | tinyint | 1 | 3 | 0 | False |
False |
False |
|||||
| html_inline_text | text | 0 | 0 | False |
False |
False |
||||||
| obligatorio | tinyint | 1 | 3 | 0 | False |
False |
False |
|||||
| orden | int | 4 | 10 | 0 | False |
False |
False |
|||||
| tipo_control | varchar | 1 | 0 | 0 | False |
False |
False |
|||||
| lista_valores | text | 0 | 0 | False |
False |
False |
||||||
| campo_activo | tinyint | 1 | 3 | 0 | False |
False |
False |
|||||
| decimales | tinyint | 1 | 3 | 0 | False |
False |
False |
Indexes
1Foreign Keys
2| Name | Columns | Description |
|---|---|---|
| R_6 | tipo_doc | |
| R_7 | tipo_campo_doc |
SQL Script
Copy
CREATE TABLE dbo.gdl_campos_tipo_doc (
campo_tipo_doc int NOT NULL,
tipo_doc int NOT NULL,
tipo_campo_doc int NULL,
longitud int NULL,
nombre_campo varchar(50) NULL,
titulo_campo varchar(50) NULL,
ayuda text NULL,
script_validacion text NULL,
cfm_validacion text NULL,
siguiente_linea tinyint NULL,
html_inline_text text NULL,
obligatorio tinyint NULL,
orden int NULL,
tipo_control varchar(1) NULL,
lista_valores text NULL,
campo_activo tinyint NULL,
decimales tinyint NULL,
CONSTRAINT XPKgdl_campos_tipo_doc PRIMARY KEY NONCLUSTERED (campo_tipo_doc, tipo_doc) WITH (FILLFACTOR = 90)
)
ON [PRIMARY]
TEXTIMAGE_ON [PRIMARY]
GO
ALTER TABLE dbo.gdl_campos_tipo_doc
ADD CONSTRAINT R_6 FOREIGN KEY (tipo_doc) REFERENCES dbo.gdl_tipo_doc (tipo_doc)
GO
ALTER TABLE dbo.gdl_campos_tipo_doc
ADD CONSTRAINT R_7 FOREIGN KEY (tipo_campo_doc) REFERENCES dbo.gdl_tipo_campo_doc (tipo_campo_doc)
GO
campo_tipo_doc int NOT NULL,
tipo_doc int NOT NULL,
tipo_campo_doc int NULL,
longitud int NULL,
nombre_campo varchar(50) NULL,
titulo_campo varchar(50) NULL,
ayuda text NULL,
script_validacion text NULL,
cfm_validacion text NULL,
siguiente_linea tinyint NULL,
html_inline_text text NULL,
obligatorio tinyint NULL,
orden int NULL,
tipo_control varchar(1) NULL,
lista_valores text NULL,
campo_activo tinyint NULL,
decimales tinyint NULL,
CONSTRAINT XPKgdl_campos_tipo_doc PRIMARY KEY NONCLUSTERED (campo_tipo_doc, tipo_doc) WITH (FILLFACTOR = 90)
)
ON [PRIMARY]
TEXTIMAGE_ON [PRIMARY]
GO
ALTER TABLE dbo.gdl_campos_tipo_doc
ADD CONSTRAINT R_6 FOREIGN KEY (tipo_doc) REFERENCES dbo.gdl_tipo_doc (tipo_doc)
GO
ALTER TABLE dbo.gdl_campos_tipo_doc
ADD CONSTRAINT R_7 FOREIGN KEY (tipo_campo_doc) REFERENCES dbo.gdl_tipo_campo_doc (tipo_campo_doc)
GO