IF  EXISTS (SELECT * FROM sys.objects WHERE object_id = OBJECT_ID(N'[dbo].[mob_plantillasListaChequeo]') AND type in (N'P', N'PC'))DROP PROCEDURE [dbo].[mob_plantillasListaChequeo]
GO

CREATE PROCEDURE [dbo].[mob_plantillasListaChequeo] 
	@p_idUsuario int,
	@p_eid varchar(20)
AS
BEGIN
	
	SET NOCOUNT ON;

	SELECT (
		SELECT *
		FROM [dbo].[v_checklistTodas]
		FOR JSON PATH
	)
END