SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO

IF EXISTS (SELECT * FROM sys.objects WHERE object_id = OBJECT_ID(N'WMAN_DatosEnlace_GetCombo') )
DROP PROCEDURE WMAN_DatosEnlace_GetCombo
GO

CREATE PROCEDURE WMAN_DatosEnlace_GetCombo --Carga la informacion a el combobox
AS
BEGIN
	SELECT a.id_datos, LTRIM(RTRIM(a.descripcion))descripcion, b.desc_modulo des_modulo
	FROM       Datos a
	INNER JOIN Modulo b ON a.id_modulo = b.id_modulo

END
GO