In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-04-01 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Database >
Share
Shulou(Shulou.com)05/31 Report--
In this issue, the editor will bring you about how to replace the specified field strings in batches in MySQL. The article is rich in content and analyzes and describes for you from a professional point of view. I hope you can get something after reading this article.
MySQL batch replace specified field string statement
UPDATE Datasheet name SET field name = replace (field name, string to be replaced, replace with) WHERE sets the condition
For example, today, our site found that the title of the article on the linux command is not very good. In the past, we used to use the mkdir command under linux to use the detailed explanation-linux to create a directory command.
This format does not make much use of search because few people search mkdir using detailed explanation and mkdir under linux to search for mkdir commands, mkdir parameters,
Mkdir, usage, linux mkdir (in the middle with a space instead of a "down" word) correction, comprehensive consideration of the unified change to linux mkdir command parameters and usage details-linux create directory command
Obviously this contains more keywords is more in line with the user's search habits. Change as soon as possible, but at present this site has issued hundreds of orders, manual modification will be exhausting.
So, enter, a few orders to fix ha ha.
UPDATE `linuxso_ archives` SET `title` = replace (title, linux, linux) WHERE `typeid` = 18
UPDATE `linuxso_ archives`SET `title` = replace (title, detailed description of command usage, command parameters and usage) WHERE `typeid` = 18
The above is how to replace specified field strings in batch in MySQL shared by Xiaobian. If you happen to have similar doubts, you might as well refer to the above analysis to understand. If you want to know more about it, you are welcome to follow the industry information channel.
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.