CONTEXT index and Tune with context (2 cross-posts merged by bb) [message #350679] |
Thu, 25 September 2008 21:46 |
getritesh
Messages: 235 Registered: July 2006 Location: INDIA
|
Senior Member |
|
|
Hello Sir,
I'm using CONTEXT index for one table column, now in my query i'm using statement shown below
Where Contains(pdue_policy_no,:prm_policy_no) > 0
but in fact i'have to use
Where pdue_policy_no =
nvl(:prm_policy_no,nvl(pdue_policy_no,'ZZ'))
since if :prm_policy_no is NULL it shold get value in pdue_policy_no but if i use Contains i cannot use nvl.But Contains is giving performance improvement
Thanks in advance for your guidance
|
|
|