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 | False |
| Full Text Catalog | |
| Full Text | |
| Compression | NONE |
| Row Count (~) | 1603 |
| Created | 9/23/2013 12:10:56 PM |
| Last Modified | 11/27/2024 5:34:19 PM |
Columns
9| Key | Name | Data Type | Length | Precision | Scale | Not Null | Identity | Rule | Default | Computed | Persisted | Description |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| constante | varchar | 50 | 0 | 0 | True |
False |
False |
|||||
| country_code | varchar | 2 | 0 | 0 | True |
False |
False |
|||||
| cliente | int | 4 | 10 | 0 | True |
False |
False |
|||||
| texto_idioma_1 | text | 0 | 0 | False |
False |
False |
||||||
| texto_idioma_2 | text | 0 | 0 | False |
False |
False |
||||||
| texto_idioma_3 | text | 0 | 0 | False |
False |
False |
||||||
| verificado | tinyint | 1 | 3 | 0 | False |
(0) | False |
False |
||||
| id | int | 4 | 10 | 0 | True |
1 - 1 | False |
False |
||||
| last_change | smalldatetime | 4 | 16 | 0 | False |
(getdate()) | False |
False |
Indexes
2Triggers
1| Name | ANSI Nulls ON | Quoted Identifier ON | On | Not For Replication | Description |
|---|---|---|---|---|---|
| tU_gdl_constantes | True |
True |
AFTER UPDATE | False |
SQL Script
Copy
CREATE TABLE dbo.gdl_constantes (
constante varchar(50) NOT NULL,
country_code varchar(2) NOT NULL,
cliente int NOT NULL,
texto_idioma_1 text NULL,
texto_idioma_2 text NULL,
texto_idioma_3 text NULL,
verificado tinyint NULL CONSTRAINT DF__gdl_const__verif__00390EB4 DEFAULT (0),
id int IDENTITY,
last_change smalldatetime NULL CONSTRAINT CONS_LAST_CHANGE DEFAULT (getdate()),
PRIMARY KEY NONCLUSTERED (constante, country_code, cliente) WITH (FILLFACTOR = 90)
)
ON [PRIMARY]
TEXTIMAGE_ON [PRIMARY]
GO
CREATE UNIQUE CLUSTERED INDEX IX_gdl_constantes_1
ON dbo.gdl_constantes (id)
WITH (FILLFACTOR = 90)
ON [PRIMARY]
GO
SET QUOTED_IDENTIFIER, ANSI_NULLS ON
GO
CREATE OR ALTER trigger dbo.tU_gdl_constantes ON dbo.gdl_constantes FOR UPDATE AS
BEGIN
update gdl_constantes set last_change = getdate()
where id = (select id from inserted)
END
SET ANSI_NULLS ON
GO
constante varchar(50) NOT NULL,
country_code varchar(2) NOT NULL,
cliente int NOT NULL,
texto_idioma_1 text NULL,
texto_idioma_2 text NULL,
texto_idioma_3 text NULL,
verificado tinyint NULL CONSTRAINT DF__gdl_const__verif__00390EB4 DEFAULT (0),
id int IDENTITY,
last_change smalldatetime NULL CONSTRAINT CONS_LAST_CHANGE DEFAULT (getdate()),
PRIMARY KEY NONCLUSTERED (constante, country_code, cliente) WITH (FILLFACTOR = 90)
)
ON [PRIMARY]
TEXTIMAGE_ON [PRIMARY]
GO
CREATE UNIQUE CLUSTERED INDEX IX_gdl_constantes_1
ON dbo.gdl_constantes (id)
WITH (FILLFACTOR = 90)
ON [PRIMARY]
GO
SET QUOTED_IDENTIFIER, ANSI_NULLS ON
GO
CREATE OR ALTER trigger dbo.tU_gdl_constantes ON dbo.gdl_constantes FOR UPDATE AS
BEGIN
update gdl_constantes set last_change = getdate()
where id = (select id from inserted)
END
SET ANSI_NULLS ON
GO
Depends On
1- Fidelitas