/ Published in: SQL
                    
                                        
                            
                                Expand |
                                Embed | Plain Text
                            
                        
                        Copy this code and paste it in your HTML
 UPDATE tablename SET fieldname = REPLACE(fieldname, searchstring, replacestring); ;example changing DOMAIN IN wordpress posts UPDATE wp_posts SET post_content = REPLACE(post_content, 'www.domain.de', 'domain.com');
Comments
                    Subscribe to comments
                
                