dbo.tipos_informe

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

35
Key Name Data Type Length Precision Scale Not Null Identity Rule Default Computed Persisted Description
tipo_informe varchar 30 0 0

True

False

False

version varchar 20 0 0

True

False

False

id_tipo_informe int 4 10 0

True

False

False

nombre_tipo_informe varchar 100 0 0

False

False

False

fecha_version smalldatetime 4 16 0

False

False

False

descripcion text 0 0

False

False

False

grupo smallint 2 5 0

False

False

False

cliente int 4 10 0

False

False

False

vigente tinyint 1 3 0

False

False

False

country_code varchar 2 0 0

False

False

False

duracion datetime 8 23 3

False

False

False

lista1 money 8 19 4

False

False

False

lista2 money 8 19 4

False

False

False

lista3 money 8 19 4

False

False

False

lista4 money 8 19 4

False

False

False

lista5 money 8 19 4

False

False

False

visible_publico tinyint 1 3 0

False

False

False

texto_email text 0 0

False

False

False

email_habilitado tinyint 1 3 0

False

False

False

tipo_tarea tinyint 1 3 0

False

False

False

selec_nuevo_informe tinyint 1 3 0

False

False

False

email_bcc varchar 200 0 0

False

False

False

grupo_informes varchar 20 0 0

False

False

False

nombre_relacion_comercial varchar 200 0 0

False

False

False

prioridad_default tinyint 1 3 0

False

False

False

daga_activo tinyint 1 3 0

False

False

False

genera_solicitud_doc tinyint 1 3 0

False

(0)

False

False

tipo_producto tinyint 1 3 0

False

False

False

bcc_habilitado tinyint 1 3 0

False

(0)

False

False

texto_email_bcc text 0 0

False

False

False

texto_email_solicitud text 0 0

False

False

False

asunto_email_solicitud varchar 255 0 0

False

False

False

confidencial tinyint 1 3 0

True

(0)

False

False

servicio_contratado int 4 10 0

False

False

False

idTipoInforme int 4 10 0

True

1 - 1

False

False

Indexes

1
Key Name Columns Unique Type Description
PK__tipos_in__9F4D9FA4934E9705 id_tipo_informe

True

Foreign Keys

2
Name Columns Description
FK__tipos_inf__clien__72C60C4A cliente
FK__tipos_inf__grupo__098A4168 grupo

SQL Script

Copy
CREATE TABLE dbo.tipos_informe (
  tipo_informe varchar(30) NOT NULL,
  version varchar(20) NOT NULL,
  id_tipo_informe int NOT NULL,
  nombre_tipo_informe varchar(100) NULL,
  fecha_version smalldatetime NULL,
  descripcion text NULL,
  grupo smallint NULL,
  cliente int NULL,
  vigente tinyint NULL,
  country_code varchar(2) NULL,
  duracion datetime NULL,
  lista1 money NULL,
  lista2 money NULL,
  lista3 money NULL,
  lista4 money NULL,
  lista5 money NULL,
  visible_publico tinyint NULL,
  texto_email text NULL,
  email_habilitado tinyint NULL,
  tipo_tarea tinyint NULL,
  selec_nuevo_informe tinyint NULL,
  email_bcc varchar(200) NULL,
  grupo_informes varchar(20) NULL,
  nombre_relacion_comercial varchar(200) NULL,
  prioridad_default tinyint NULL,
  daga_activo tinyint NULL,
  genera_solicitud_doc tinyint NULL DEFAULT (0),
  tipo_producto tinyint NULL,
  bcc_habilitado tinyint NULL DEFAULT (0),
  texto_email_bcc text NULL,
  texto_email_solicitud text NULL,
  asunto_email_solicitud varchar(255) NULL,
  confidencial tinyint NOT NULL DEFAULT (0),
  servicio_contratado int NULL,
  idTipoInforme int IDENTITY,
  PRIMARY KEY NONCLUSTERED (id_tipo_informe) WITH (FILLFACTOR = 90)
)
ON [PRIMARY]
TEXTIMAGE_ON [PRIMARY]
GO

ALTER TABLE dbo.tipos_informe WITH NOCHECK
  ADD CONSTRAINT FK__tipos_inf__clien__72C60C4A FOREIGN KEY (cliente) REFERENCES dbo.clientes (cliente)
GO

ALTER TABLE dbo.tipos_informe
  ADD FOREIGN KEY (grupo) REFERENCES dbo.grupos (grupo)
GO

Depends On

3