Search code examples
mysqllongtext

How to read a particular tag data from longtext type in mysql?


I am new to database so please advise me how to read data from a longtext(clob data type) in my sql.

The longtext field name is Rest_Server and the value tag to be read is from that.


Solution

  • select substr(clob_column,INSTR(clob_column,''),lengthOfTag) from table