Tips
-------------------------------------------------- Display a String Vertically SELECT SUBSTR('tarek', ROWNUM, 1) FROM all_objects WHERE ROWNUM <= LENGTH(TRIM('tarek')) Display Calendar of the Year select lpad( Month, 20-(20-length(month))/2 ) month, "Su", "Mo", "Tu", "We", "Th", "Fr", "Sa" from (select to_char(dt,'fmMonthfm YYYY') month, CASE when to_char(dt,'fmMonthfm YYYY') like 'Dec%' AND to_char(dt+1,'iw') = '01' then '53' when to_char(dt,'fmMonthfm YYYY') like 'Jan%' AND to_char(dt+1,'iw') = '53' then '.5' else to_char(dt+1,'iw') END week, max(decode(to_char(dt,'d'),'1',lpad(to_char(dt,'fmdd'),2))) "Su", max(decode(to_char(dt,'d'),'2',lpad(to_char(dt,'fmdd'),2))) "Mo", max(decode(to_char(dt,'d'),'3...