de = 1)
    begin
      if exists(select Officer from HBQueryAttachSign where QueryID = @QueryID and Officer = @Officer and Num = @Num)
        begin
          select Name from Errors where Error = -179
          return-179
        end
      insert into HBQueryAttachSign values(@QueryID,@Officer,@Num,@Sign)
    end
  else
    --///////////////////////////////////////////////////////////////////////////////////////
    -- 3 -     