Home » Server Options » Text & interMedia » CONTEXT index and Tune with context (2 cross-posts merged by bb)
CONTEXT index and Tune with context (2 cross-posts merged by bb) [message #350679] Thu, 25 September 2008 21:46 Go to previous message
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



 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Near operator with Ctxcat index (split from CTXCAT / CONTEXT index by bb)
Next Topic: select query optimization
Goto Forum:
  


Current Time: Sat Apr 20 07:50:44 CDT 2024