GetTotalEncashmentsStats.sql

29 lines | 476 B Blame History Raw Download

set noexec off
go
if object_id('GetTotalEncashmentsStats') is not null
begin
	set noexec on
end	
go
-- создаем пустой объект
-- необходимо указать название процедуры
create procedure dbo.GetTotalEncashmentsStats as
raiserror ('Объект пустой. Ошибка при создаении объекта', -- Message text.
				16, -- Severity.
				1 -- State.
			);
go
set noexec off
go
alter procedure dbo.GetTotalEncashmentsStats
(
	@CompanyID int,
	@DateFrom DateTime,
	@DateTo DateTime,
) 
as

begin

end