oracle11g - update a column based on whether another column was updated -
i have 2 columns in table -
column_1
last_update_date
so when column_1 updated, need update last_update_date. how should write update query? i'm using oracle database.
update table_name set column_1 = 'column_1_value', last_update_date = sysdate
Comments
Post a Comment