USE [Clinica]
GO
/****** Object:  View [Clinica].[VWCentroMedicoProfesional]    Script Date: 18-08-2025 21:38:25 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO

CREATE VIEW [Clinica].[VWCentroMedicoProfesional] AS

SELECT DISTINCT IdProfesional, IdCentroMedico, CentroMedico as Descripcion
FROM Clinica.VWAgendaMedico
WHERE CONVERT(DATE, FechaAgendaDesde) >= CONVERT(DATE, GETDATE())

GO
