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: SQL Server, #SQLServer,
nice idea !!!
Gr8...
select space(6)+cast(0x486170707920566149656E74696E6592732044617921 as varchar(100))
For Feb 14th.
what is the use for cast
cast(0x486170707920566149656E74696E6592732044617921 as varchar(100))