Dear My Friends,I have a question... If i use the following syntax...SELECT * FROM TableName WHERE LEFT(Field,3)The result is 'J10' for all records. It's more that 100 records.I want to update the value to J0. How is the syntax?Help me please...Thank you
Note that if you have a value on the column like 'J10xyzJ10xyz', then Frank's solution will replace both occurrences of 'J10' , not just the first one. If you need to replace only the initial three characters, use something like UPDATE table SET column = 'J0' + SUBSTRING(column, 4, 100) WHERE column like 'J10%' Adjust the 100 figure to reflect the column length.