dbo.comex_exportaciones

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 (~) 12125919
Created 5/31/2017 6:27:21 PM
Last Modified 1/19/2025 8:27:37 PM

Columns

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

True

1 - 1

False

False

cuit float 8 53 0

False

False

False

procedencia int 4 10 0

False

False

False

fobusd varchar 30 0 0

False

False

False

posicion varchar 10 0 0

False

False

False

fecha date 3 10 0

False

False

False

created datetime 8 23 3

False

(getdate())

False

False

Indexes

4
Key Name Columns Unique Type Description
idx_comex_exportaciones_cuit cuit, fecha

False

idx_comex_importaciones_cuit_proc_fecha cuit, procedencia, fecha

False

idx_comex_importaciones_fecha fecha

False

idxComexExpoFecha fecha

False

SQL Script

Copy
CREATE TABLE dbo.comex_exportaciones (
  impo_id int IDENTITY,
  cuit float NULL,
  procedencia int NULL,
  fobusd varchar(30) NULL,
  posicion varchar(10) NULL,
  fecha date NULL,
  created datetime NULL DEFAULT (getdate())
)
ON [PRIMARY]
GO

CREATE INDEX idx_comex_exportaciones_cuit
  ON dbo.comex_exportaciones (cuit, fecha)
  INCLUDE (procedencia, fobusd)
  WITH (FILLFACTOR = 80)
  ON [PRIMARY]
GO

CREATE INDEX idx_comex_importaciones_cuit_proc_fecha
  ON dbo.comex_exportaciones (cuit, procedencia, fecha)
  INCLUDE (fobusd)
  WITH (FILLFACTOR = 80)
  ON [PRIMARY]
GO

CREATE INDEX idx_comex_importaciones_fecha
  ON dbo.comex_exportaciones (fecha)
  INCLUDE (fobusd)
  WITH (FILLFACTOR = 80)
  ON [PRIMARY]
GO

CREATE INDEX idxComexExpoFecha
  ON dbo.comex_exportaciones (fecha)
  INCLUDE (impo_id, cuit, procedencia, fobusd, posicion, created)
  WITH (FILLFACTOR = 80)
  ON [PRIMARY]
GO

Depends On

1
  • Fidelitas