Pour rechercher et remplacer une chaîne de caractères directement dans le champ d’une base de données MySQL, il suffit d’utiliser la fonction REPLACE de la manière suivante :
UPDATE [nom_de_la_table] SET [nom_du_champ] =REPLACE([nom_du_champ],’[chaine_a_remplacer]‘,’[chaine_de_remplacement]‘);
Exemple :
UPDATE articles SET content = REPLACE(content,’http://www.mondns.com’,’/’);
…
Posted: octobre 29th, 2011 ˑ
Comments Closed
Filled under:
How-to's,
tech
Top 10 Mobile Web Development JavaScript Frameworks.
…
Posted: septembre 26th, 2011 ˑ
Comments Closed
Filled under:
tech
.::PullRequest.org::. Créer une API REST.
…
Posted: septembre 21st, 2011 ˑ
Comments Closed
Filled under:
tech
Bootstrapping UX: A Case Study :: UXmatters.
…
Posted: septembre 11th, 2011 ˑ
Comments Closed
Filled under:
Analyses
Tracking the KPIs of Social Media | SEOmoz.
…
Posted: septembre 7th, 2011 ˑ
Comments Closed
Filled under:
e-marketing