SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO

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

CREATE PROCEDURE WMAN_Opciones_GetCombo --Carga la informacion a el combobox
	@id_aplicacion  INT
AS
BEGIN
	SELECT id_opc, desc_opc
	FROM Opciones
	WHERE id_app = @id_aplicacion
	ORDER BY id_opc

END
GO

