bitsCN.com
在做台湾岛旅游网时遇到的问题。
抓取了批数据,但价格没设好,需要重设,想在phpmyadmin上执行下,但用“+”不能连接字符串,搜了半天,才知道字符串连接需要CONCAT函数,使用形式如CONCAT(str1,str2,…) 。
例如:
update a_line set a_line.plbj=CONCAT(‘abc’,a.dingjin,’def’) WHERE a.dd=’郑州’
from:燕山脚下
bitsCN.com
Statement:The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn