Please help I am getting the error below
incorrect syntax near else
CREATE PROCEDURE [dbo].[P3P7marksheetLast]@C nvarchar(50) AS
if @C='P3'
begin
exec deletedestemp
exec Classgeneral @C
exec Delnulpositions
exec deletedestemp
Update destinationtemp set pos= case when division ='x' then 100000 else pos end
exec Delnulpositions2
else
begin
exec destinationdelete
exec Generalupperp @c
exec Runclassposition
Update destination37 set pos= case when division ='x' then 100000 else pos end
end