On Feb 18, 2:53 am, karthick <[email protected]> wrote: > Hi > > I am new to oracle. I guess In the query [select empno, ename, sal, > to_char(null) as "Transfer Date" from emp ] the fourth column is varchar > where as in this query [select empno,ename,sal,tdate from emp6;] the fourth > column is date . so try to_date instead of to_char. >
Why use any conversion at all? A correct and proper UNION query has already been posted; selecting NULL absent any conversion will satisfy the conditions of the union. David Fitzjarrell -- You received this message because you are subscribed to the Google Groups "Oracle PL/SQL" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/Oracle-PLSQL?hl=en
