on 08-02-2012 7:27 AM
Hi,
Can somebody explain the use of principal key in an attribute view in HANA. Also the importance of pricipal key in a parent-child hierarchy.
Your inputs would be appreciated. Thanks in advance.
Regards,
Nikhil Joy
Hello Nikhil,
Regarding Parent Child hierarchy see the below link:
http://technet.microsoft.com/en-us/library/ms174846.aspx
And regarding Principal Key, if you want to make any non-key attribute in your attribute view as "Parent" you can make that property = "True" so that you will be able to create a parent-child hierarchy in SAP HANA.
Hope this helps a bit for you.
Regards,
Krishna Tangudu
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hai Krishna,
Thanks for your inputs...
I can not define more than one node.
For eg. I have 3 fields Country , state , city.
Country is defined as prinicpal key.
But i need to create the parent child hierarchy as
Key attribute Parent
Country
State Country
City State.
As country is the first node, so we should not define any parent for the country.
But i can add the Key attribute as country and parent as Customer ID. After that i cannot define anything.
How can we create the above flow.
User | Count |
---|---|
91 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.