jck Posted July 15, 2007 Share Posted July 15, 2007 i have about 60 records in a table and in each there is a column called itemtype which is empty i need to update all of them to T how can i do it easily Link to comment https://forums.phpfreaks.com/topic/60038-solved-updating-column-in-a-table-using-phpmyadmin/ Share on other sites More sharing options...
trq Posted July 15, 2007 Share Posted July 15, 2007 UPDATE tbl SET itemtype = 'T' WHERE itemtype = ''; Link to comment https://forums.phpfreaks.com/topic/60038-solved-updating-column-in-a-table-using-phpmyadmin/#findComment-298630 Share on other sites More sharing options...
rameshfaj Posted July 15, 2007 Share Posted July 15, 2007 update table_name set column_name='T' where column_name=''; Link to comment https://forums.phpfreaks.com/topic/60038-solved-updating-column-in-a-table-using-phpmyadmin/#findComment-298633 Share on other sites More sharing options...
trq Posted July 15, 2007 Share Posted July 15, 2007 update table_name set column_name='T' where column_name=''; Well said! Link to comment https://forums.phpfreaks.com/topic/60038-solved-updating-column-in-a-table-using-phpmyadmin/#findComment-298634 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.