I'm inserting a new field into a large table and the value of that field is going to be either TRUE or FALSE depending on a value of an adjacent field that already exists... The new field defaults to FALSE but there are several hundred records where it needs to TRUE.
Can i get SQL to handle this for me? I'm need something that goes like:
SELECT * FROM mytable and if mytable.fieldX = 'this_value' THEN mytable.newfield = 'TRUE';
Help would be much appreciated.
Can i get SQL to handle this for me? I'm need something that goes like:
SELECT * FROM mytable and if mytable.fieldX = 'this_value' THEN mytable.newfield = 'TRUE';
Help would be much appreciated.