i have a table similar to below where name is the primary key
name pay creation date update date
mike 1000 3/1/2020 3/1/2020
i need to insert multiple records to the table and if record already exists i need to update the row. The challenge is create date. Create date should not be updated, it is just needs to be inserted. i am using simple update query like
update table_name set pay=2000,creation date=sys date,update date=sysdate where name='mike';