02-07-2011 6:24 AM
Dear All,
I need to find out the Primary Key of a Table Type SAEVAL_T to store the Data in some other DatsBase.
This Table Type consists of Line Type of Structure SAEVAL_STR .
Can some one help me to find the Primary key of this Table Type.
Thanking You All.
02-07-2011 7:12 AM
Hi ,
to find the primary of a table type:
Please follow this way:
Once you open your table type, it was associated with the line type . But in the opened screen you can find the key information, where you can see that it is having the Unique ,Non- Unique and not specified.
In case of associate line type sturcute having any primary key information, this key attributes tab may be specified with Uniquie key information.
Hope this can be helpful.
thanks
02-07-2011 7:33 AM
Dear Krishna ,
In the Key Tab ,
Key Category Type is Non-Unique and Key Definition Type is Standard Key.
What can I intrepret ?
02-07-2011 7:48 AM
hi ,
with a deep understanding of our Data base systems, we have so many key concepts was availiable.
As per my understanding if they set the key as Non-uniquie, which means that your structure don't have unique key component.
and also you can observe that in the same screen you can find the Key components.
Hope if your structure contain any key components , where they can define those field names over there
Thanks
02-08-2011 12:39 PM
02-10-2011 4:58 AM
Since it is non-unique and standard key; see below for you to judge...
1) If TT is structured row type -> key is formed from all character-type columns
2) If it has elementary line type - default key is entire line
3) If it is of non-structured row -> key is entire row
4) If TT's line type is again internal table (nested) -> default key would be empty...