Lots of extra commas were showing up in the first example for some reason. It should read:
DECLARE @sStringVar VARCHAR(440) ,
@lInteger Int ,
@fFloat decimal(6,2) ,
@byUnsignedInt tinyint
SELECT @sStringVar = 'A string' ,
@lInteger=44 ,
@fFloat=3.14 ,
@byUnsignedInt = 56
RAISERROR('The string variable contains %s, the int contains %d, the float contains %d, the uint contains %d',
10 -- Informational severity only.
,1
,@sStringVar,
@lInteger,
@fFloat,
@byUnsignedInt
) WITH LOG, NOWAIT