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 Quote Link to comment Share on other sites More sharing options...
trq Posted July 15, 2007 Share Posted July 15, 2007 UPDATE tbl SET itemtype = 'T' WHERE itemtype = ''; Quote Link to comment 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=''; Quote Link to comment 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! Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.