You need to explicitly convert bigint to varchar:
DECLARE @ID BIGINT
set @ID = 1323
UPDATE School
SET RegistrationFee = 'fee_' + CAST(@ID AS VARCHAR(15))
WHERE SchoolRegistrationId = 123
T-SQL will not do this automatically for you - you need to be explicit and understandable.
source
share