Archives of the TeradataForum
Message Posted: Tue, 02 Jan 2007 @ 13:00:58 GMT
Don't use DISTINCT, because this will result in a heavily skewed spool for a large table.
Select TYPE(Your_col_name) from Your_Table group by 1;
Or even better (without any table access):
|Copyright 2016 - All Rights Reserved|
|Last Modified: 27 Dec 2016|