xml search + single quote handling (merged) [message #356516] |
Thu, 30 October 2008 23:55 |
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.
|
|
|