How to get all occurance of a string in clob data in MySQL -


i have 1 clob field 'class_data' in table 'school' , in clob there 1 tag name '<fee-value>' , want select occurrences of tag clob data. used below query in mysql , select first occurrence of tag(there 12 occurrence of vallue)

select substr(class_data, instr(class_data,'fee-value'),30)  school class='s013' , grade='a' , date ='20130301'; 

the value showing :

<fee-value>200</fee-value> 

and there 11 more such kind of tags not shown please suggest how do?


Popular posts from this blog

Php - Delimiter must not be alphanumeric or backslash -

c# - How to change the "Applies To" field under folder auditing options programatically (.NET) -

c++ - Ambiguity when using boost::assign::list_of to construct a std::vector -