Quantcast
Channel: Teradata Forums - All forums
Viewing all articles
Browse latest Browse all 27759

Value ordered NUSI - forum topic by Moutusi

$
0
0

 
I have some doubts on value ordered NUSI.
1.       Can we create a NUSI on a column that already has a Value-Ordered NUSI defined on the same column? In that case will it have different sub-tables?
2.       For below example EMP No is UPI and Joining Date is value ordered NUSI of EMP table.
EMP_No      EMP_Name            Joining_Date
   1                  ABC                      01-01-2012
   2                  XYZ                      01-01-2012
   3                  MNV                     01-02-2012
   4                  RST                      01-05-2011
 
Suppose it has 2 AMPs and in that case each AMP will get 2 rows. In that case how will we get the benefit of VO NUSI for below query?
SELECT * FROM EMP
WHERE JOINING DATE BETWEEN 01-01-2012 AND 01-03-2012;
 

Forums: 

Viewing all articles
Browse latest Browse all 27759

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>