View previous topic :: View next topic
|
Author |
Message |
santhosh_kumar
New User
Joined: 31 May 2007 Posts: 4 Location: Chennai
|
|
|
|
In my DB a segment has a key value which is either xxxx or yyyy.
Is there any way to fetch the segment thru single call by passing both the key values to find atleast the one is present in the segment.
Sweet,
Santhosh |
|
Back to top |
|
|
Sinkaravelan S
New User
Joined: 21 Apr 2008 Posts: 27 Location: coimbatore-TN india
|
|
|
|
Santhosh,
We cannot give two key fields into one segment.Search field may be contain one more value but key field should be one.
I think you can use alternate index. |
|
Back to top |
|
|
kalukakkad
New User
Joined: 10 Mar 2005 Posts: 81
|
|
|
|
You can define the SSA with logical OR operator --> | (pipe symbol) or + symbol between 2 key values
SSA=SEGMNAME(KEYFLD=XXXX|KEYFLD=YYYY)
or
SSA=SEGMNAME(KEYFLD=XXXX+KEYFLD=YYYY) |
|
Back to top |
|
|
|