monkeypaw201 Posted February 9, 2008 Share Posted February 9, 2008 how can i update all rows and reset a column to a variable i define? Link to comment https://forums.phpfreaks.com/topic/90169-solved-update-all/ Share on other sites More sharing options...
The Little Guy Posted February 9, 2008 Share Posted February 9, 2008 I hope this is what you want: UPDATE tableName SET columnName = 'kitty' It will update ALL ROWS IN THE DATABASE and set "columnName" equal to "kitty" Link to comment https://forums.phpfreaks.com/topic/90169-solved-update-all/#findComment-462365 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.