Home » Server Options » Text & interMedia » xml search + single quote handling (merged)
xml search + single quote handling (merged) [message #356516] Thu, 30 October 2008 23:55 Go to previous message
gaikwadrachit
Messages: 33
Registered: June 2007
Location: mumbai
Member
i m using Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Prod

i want to search in xml
i have this query

SELECT /*+ FIRST_ROWS INDEX(p I01_GPAPR_010_FULL) */
P.DATA_ID_DATE,
P.DATA_ID_SEQ,
P.DATA_VERSION,
P.DATA.GETCLOBVAL()
FROM GPAPR_010_KREDIT_ABLAGE_DAT P
WHERE CONTAINS(DATA,'((a'b WITHIN Kr_Fo_Container_Nr )) WITHIN OrderAttributes') > 0
AND ROWNUM <= 100
ORDER BY P.ARCHIVE_TIMESTAMP DESC

i m not allowed to search for a'b so i change it to a''b
but it returns me value in xml which contains

i get two output
a'b
a b

so can any one tell me how to handle single quote(') in xml select query.
 
Read Message
Read Message
Read Message
Previous Topic: Problems with CTX_DOC.SNIPPET on HTML documents
Next Topic: BFile content index And Network Share
Goto Forum:
  


Current Time: Sat Apr 20 07:11:42 CDT 2024