I have a table Template
. In that I have one column like Message
.For example
-------------------------------
id name desc cretaedBy Message
-------------------------------
1 A blah today <td><tr>one</tr></td></body></html>
2 B blah lastday
3 C blah onemonth <tr><td>last</td><td>next</td></tr></body></html>
Here, i need to insert <div>blah blah some content</div>
before </body></html>
in Message
-column.
How to find the position and update in particular position using update query.
This table shows 3records for example only..but it may contain1000records. Actually what i am expecting, for example if java or any programming language...if string contains end body tag , substring the string and add data before end body tag.
Anyone please help me in mysql
, i want to insert some content before
– Learner Jan 03 '20 at 19:03