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' } Quote Link to comment 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' Quote Link to comment Share on other sites More sharing options...
SeanFromIT Posted February 1, 2007 Author Share Posted February 1, 2007 Thanks! 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.