SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO

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

CREATE PROCEDURE WINV_Almacen_GetCombo --Carga la informacion a el combobox
AS
BEGIN
	SELECT LTRIM(RTRIM(codigo))codigo, LTRIM(RTRIM(descripcion))descripcion, id_alma FROM STOKALMA
END
GO