In the Query Analyser, set the Result mode to Text (Press CTRL+T) and run the following code
set nocount on select space(17-len(replicate(char(94),no)))+ replicate(char(94),no*2-1) from ( select top 10 row_number() over (order by name) as no from sysobjects ) as t union all select space(14)+replicate(char(124),5) union all select space(10)+cast(0x486170707920486F6C6964617973 as varchar(100))
Tags: t-sql, sql_server, Happy-Holidays,
Although this is almost an year old, I still had great fun while executing the scripts. Happy holidays to you too, Madhivanan!
You are welcome Nakul Vachhrajani