SELECT CONCAT('The cat sat',' ', 'on', ' ', 'the mat') GO SELECT CONCAT(NULL, ' and void') GO DECLARE @int int = 99 DECLARE @varchar varchar(13) = ' red balloons' SELECT CONCAT(@int,@varchar) GO DECLARE @varchar varchar(20) = 'The date today is ' DECLARE @dt datetime = GETDATE() SELECT CONCAT(@varchar,@dt) GO
No comments:
Post a Comment