Data Warehouse & Business Intelligence
Lables
Abinitio
(10)
DWH Fundamentals
(13)
Informatica
(2)
Teradata
(38)
Wednesday, 11 September 2013
How to find No. of Records present in Each AMP for a given Table through SQL?
SEL
HASHAMP(HASHBUCKET(HASHROW(PRIMARY_INDEX_COLUMNS)))
AS AMP_NO
, COUNT(*)
FROM DATABASENAME.TABLE_NAME
GROUP BY 1;
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment