LanceT Posted January 13, 2007 Share Posted January 13, 2007 Lets say in one of my rows a certain column has the value "hello" How do I change all of them to "hello world" without doing it manually?Thanks. Link to comment https://forums.phpfreaks.com/topic/33997-changing-all-values-in-a-mysql-table/ Share on other sites More sharing options...
fenway Posted January 13, 2007 Share Posted January 13, 2007 Well, a simple UPDATE table SET value = 'hello world' WHERE value = 'hello will work... Link to comment https://forums.phpfreaks.com/topic/33997-changing-all-values-in-a-mysql-table/#findComment-159963 Share on other sites More sharing options...
Barand Posted January 14, 2007 Share Posted January 14, 2007 I couldn't tell from that question whether to change all the columns in the one row containing "hello" to "hello world"orchange that certain column in all rows to "hello world" Link to comment https://forums.phpfreaks.com/topic/33997-changing-all-values-in-a-mysql-table/#findComment-160187 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.