![]() |
|
Archives of the TeradataForumMessage Posted: Tue, 21 Sep 2004 @ 13:17:29 GMT
Hi shrikant, You can change the date coulmn format to (DD-MMM-YYYY) and then compare it with column having varchar.
select * from tab1 where col1(format 'DD-MMM-YYYY') = col2;
Where col2 is varchar and col1 is date;
Regards, Birendra
| ||||||||||||||||||||||||||||||||||||||||||||||||
| | ||||||||||||||||||||||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||||||||||||||||||||
![]() | ||||||||||||||||||||||||||||||||||||||||||||||||
| Last Modified: 30 Jun 2008 | ||||||||||||||||||||||||||||||||||||||||||||||||