![]() |
|
Archives of the TeradataForumMessage Posted: Thu, 21 Apr 2011 @ 11:47:45 GMT
Number of rows in an unknown partition:
sel partition,count(*)
from kris.t10
where partition=(sel max(a.partition)
from kris.t10 a)
group by 1;
Number of rows in No range partition:
sel partition,count(*)
from kris.t10
where partition=(sel max(a.partition)-1
from kris.t10 a)
group by 1;
| ||||||||||||||||||||||||||||||||||||||||||||||||
| | ||||||||||||||||||||||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||||||||||||||||||||
|
| ||||||||||||||||||||||||||||||||||||||||||||||||
| Copyright 2016 - All Rights Reserved | ||||||||||||||||||||||||||||||||||||||||||||||||
| Last Modified: 15 Jun 2023 | ||||||||||||||||||||||||||||||||||||||||||||||||