Как я могу это исправить? Процедура или функция 'sp_division' ожидает параметр '@result', который не был указан.
SET ANSI_NULLS ON GO SET QUOTED_IDENTIFIER ON GO CREATE PROCEDURE sp_Division @Result FLOAT AS BEGIN TRY SET @Result = 10/5 DECLARE @Check AS FLOAT PRINT '--> '+CONVERT(CHAR(255),@Result); END TRY BEGIN CATCH IF @Check=0 PRINT 'Error, can not divide with 0' END CATCH; GO What I have tried: I have put this in procedure and then executed the procedure, and it gives me an error Procedure or function 'sp_Division' expects parameter '@Result', which was not supplied.