![]() |
|
Archives of the TeradataForumMessage Posted: Fri, 29 Oct 2004 @ 17:43:05 GMT
Try case when upper(colname) = lower(colname) then 'num' else 'char' end. You may need to throw in a zeroifnull in there if you want to accept nulls as numeric.
| ||||||||||||||||||||||||||||||||||||||||||||||||
| | ||||||||||||||||||||||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||||||||||||||||||||
![]() | ||||||||||||||||||||||||||||||||||||||||||||||||
| Last Modified: 30 Jun 2008 | ||||||||||||||||||||||||||||||||||||||||||||||||