• Quick suggestion, if you are on SQL 2012 or later, use the concat function.

    😎

    DECLARE @recordcount INT = 007;

    DECLARE @mysubject varchar(500) = CONCAT('Number of unprocessed records on SQL1 ',@recordcount);

    SELECT @mysubject;