2012-09-18 73 views

回答

1

使用REPLACE

UPDATE dbo.wp_post 
SET post_content = 
    REPLACE(post_content, 'http://localhost/', 'http://somedomain.com'); 
WHERE ... --predicatehere