SeanFromIT Posted February 1, 2007 Share Posted February 1, 2007 Can someone show me the SQL equivalent of the following? for all rows in a single column { if value = 'example' set value = 'answer' } Link to comment https://forums.phpfreaks.com/topic/36589-solved-modify-column-values/ Share on other sites More sharing options...
AndyB Posted February 1, 2007 Share Posted February 1, 2007 update tablename set value='answer' where value='example' Link to comment https://forums.phpfreaks.com/topic/36589-solved-modify-column-values/#findComment-174342 Share on other sites More sharing options...
SeanFromIT Posted February 1, 2007 Author Share Posted February 1, 2007 Thanks! Link to comment https://forums.phpfreaks.com/topic/36589-solved-modify-column-values/#findComment-174557 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.