I have a mysql table and some of the elements from the field, "title" have "( some text)". I want to remove the brackets portion of the text.
So
blah blah (blah) would turn into blah blah
How would I do this in SQL?
I have a mysql table and some of the elements from the field, "title" have "( some text)". I want to remove the brackets portion of the text.
So
blah blah (blah) would turn into blah blah
How would I do this in SQL?
you can use the replace function in MySQL
select replace(replace(title,'(', ''),')','') as title
from table
http://dev.mysql.com/doc/refman/5.5/en/string-functions.html#function_replace