Happy Holidays

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))

Published Thursday, December 31, 2009 9:48 AM by Madhivanan

Comments

No Comments