﻿CREATE  PROCEDURE [dbo].[sp_getMaxTemplate]
AS
BEGIN
SELECT MAX(idTemplate)
  FROM dbo.R6_ReportSchede_Template
END