• thank you ChrisM@Work.

    but I have not entered any code between DECLARE and SET my code is:

    DECLARE @X INT;

    SET @X =12;