USE [PRD_ORION]
GO

/****** Object:  Table [CLIMA].[PRONOSTICO_HORARIO]    Script Date: 30/01/2019 14:54:34 ******/
SET ANSI_NULLS ON
GO

SET QUOTED_IDENTIFIER ON
GO

SET ANSI_PADDING ON
GO

CREATE TABLE [CLIMA].[PRONOSTICO_HORARIO](
	[FECHA] [datetime] NOT NULL,
	[PAIS] [varchar](50) NOT NULL,
	[CIUDAD] [varchar](50) NOT NULL,
	[LATITUD] [float] NOT NULL,
	[LONGITUD] [float] NOT NULL,
	[PRECIP_INTENSITY] [float] NULL,
	[PRECIP_PROBABILITY] [float] NULL,
	[PRECIP_TYPE] [varchar](50) NULL,
	[TEMPERATURE] [float] NULL,
	[APPARENT_TEMPERATURE] [float] NULL,
	[HUMIDITY] [float] NULL,
	[PRESSURE] [float] NULL,
	[WIND_SPEED] [float] NULL,
	[WIND_GUST] [float] NULL,
	[WIND_BEARING] [float] NULL,
	[CLOUD_COVER] [float] NULL,
	[SUMMARY] [varchar](50) NULL,
	[ICON] [varchar](50) NULL,
	[WHO_INAME_M] [varchar](20) NULL CONSTRAINT [CNST_CONC_DIARIA_IMPORTACION_AUDIT_NAME_I]  DEFAULT (suser_sname()),
	[WHO_IDATE_M] [datetime] NULL CONSTRAINT [CNST_CONC_DIARIA_IMPORTACION_AUDIT_FECHA_I]  DEFAULT (getdate()),
 CONSTRAINT [IX_PRONOSTICO_HORARIO] UNIQUE NONCLUSTERED 
(
	[FECHA] ASC,
	[PAIS] ASC,
	[CIUDAD] ASC
)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
) ON [PRIMARY]

GO

SET ANSI_PADDING OFF
GO


