Remove text from Output in MySql -



Remove text from Output in MySql -

my out set :

i want remove http:// when output in mysql workbench.

id url 1 http://www.christiantoday.com/article/samsung.galaxy.note.4.vs.htc.one.m8.buy.now.wait/38212.htm 2 http://www.christiantoday.com/article/samsung.galaxy.note.4.vs.htc.one.m8.buy.now.wait/38212.htm 3 http://www.christiantoday.com/article/samsung.galaxy.note.4.vs.htc.one.m8.buy.now.wait/38212.htm

i want :

id url 1 www.christiantoday.com/article/samsung.galaxy.note.4.vs.htc.one.m8.buy.now.wait/38212.htm 2 www.christiantoday.com/article/samsung.galaxy.note.4.vs.htc.one.m8.buy.now.wait/38212.htm 3 www.christiantoday.com/article/samsung.galaxy.note.4.vs.htc.one.m8.buy.now.wait/38212.htm

select replace(url, 'http://', '') url your_table

mysql

Comments

Popular posts from this blog

model view controller - MVC Rails Planning -

ruby on rails - Devise Logout Error in RoR -

html - Submenu setup with jquery and effect 'fold' -