IF OBJECT_ID('V_EST_PROD_PRECO_DESC_PRG_CARGA_PDV') IS NOT NULL
	DROP VIEW V_EST_PROD_PRECO_DESC_PRG_CARGA_PDV

GO

CREATE VIEW V_EST_PROD_PRECO_DESC_PRG_CARGA_PDV
AS
SELECT CD_PRECO_PRG
,DT_INI
,DT_VENCTO
,CD_USU
,DT_CAD
,DT_ULT_ALT
,PERC_DESC_FIX
,FLAG_PERC_DESC_LIMITE
,NM_PROGRAMACAO
FROM EST_PROD_PRECO_DESC_PRG WHERE DT_VENCTO >= GETDATE()