agallo Posted September 17, 2008 Share Posted September 17, 2008 First, thanks in advance for any help provided in finding this solution. I have been searching for the right string for a day now with no luck. I am trying to add a zero to the end of prexisting values, in all rows, and in a specific column. Any help as to the right query or pointing me in the right direction is much appreciated. Link to comment https://forums.phpfreaks.com/topic/124701-help-add-a-zero-to-the-end-of-all-prexisting-values-in-a-specific-column/ Share on other sites More sharing options...
Mchl Posted September 17, 2008 Share Posted September 17, 2008 Are they numeric or strings? For numeric UPDATE table SET field = field * 10; For strings UPDATE table SET field = CONCAT(field,'0'); Link to comment https://forums.phpfreaks.com/topic/124701-help-add-a-zero-to-the-end-of-all-prexisting-values-in-a-specific-column/#findComment-644111 Share on other sites More sharing options...
agallo Posted September 17, 2008 Author Share Posted September 17, 2008 perfect! thank you so much for the help Link to comment https://forums.phpfreaks.com/topic/124701-help-add-a-zero-to-the-end-of-all-prexisting-values-in-a-specific-column/#findComment-644122 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.