1
어떻게 내가 MySQL 5.5에서합니까? concat을 생각하고 있었지만 더 간단한 것이 있다고 생각합니다.SQL 업데이트 문에 문자열에 행 ID를 삽입
id content
1
2
update posts set content='here is content ' + this.id
그래서 :
id content
1 here is content 1
2 here is content 2
들으
http://sqlfiddle.com에서 시도해 볼 수 있습니다. –
@MichaelBuen 감사합니다! 나는 그것이 작동한다는 것을 지금 알고있다. (http://sqlfiddle.com/#!2/e2c13/4)! 훌륭한 도구! – dasblinkenlight