dbo.gdl_legajos

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 (~) 0
Created 3/6/2025 6:55:53 PM
Last Modified 3/6/2025 6:55:57 PM

Columns

9
Key Name Data Type Length Precision Scale Not Null Identity Rule Default Computed Persisted Description
legajo int 4 10 0

True

1 - 1

False

False

cliente int 4 10 0

False

False

False

tipo_legajo int 4 10 0

False

False

False

entidad_juridica int 4 10 0

False

False

False

estado_tipo_legajo int 4 10 0

False

False

False

informe int 4 10 0

False

False

False

es_legajo_interno tinyint 1 3 0

False

False

False

ingresado_por int 4 10 0

False

False

False

tolerancia_inicial datetime 8 23 3

False

False

False

Indexes

1
Key Name Columns Unique Type Description
XPKgdl_legajos legajo

True

Foreign Keys

3
Name Columns Description
R_21 estado_tipo_legajo
R_8 tipo_legajo
R_9 entidad_juridica

SQL Script

Copy
CREATE TABLE dbo.gdl_legajos (
  legajo int IDENTITY,
  cliente int NULL,
  tipo_legajo int NULL,
  entidad_juridica int NULL,
  estado_tipo_legajo int NULL,
  informe int NULL,
  es_legajo_interno tinyint NULL,
  ingresado_por int NULL,
  tolerancia_inicial datetime NULL,
  CONSTRAINT XPKgdl_legajos PRIMARY KEY CLUSTERED (legajo) WITH (FILLFACTOR = 90)
)
ON [PRIMARY]
GO

ALTER TABLE dbo.gdl_legajos
  ADD CONSTRAINT R_21 FOREIGN KEY (estado_tipo_legajo) REFERENCES dbo.gdl_estados_tipo_legajo (estado_tipo_legajo)
GO

ALTER TABLE dbo.gdl_legajos
  ADD CONSTRAINT R_8 FOREIGN KEY (tipo_legajo) REFERENCES dbo.gdl_tipo_legajo (tipo_legajo)
GO

ALTER TABLE dbo.gdl_legajos
  ADD CONSTRAINT R_9 FOREIGN KEY (entidad_juridica) REFERENCES dbo.gdl_entidad_juridica_legajo (entidad_juridica)
GO