I am using the following SQL insert statement to insert values into a table MY_DATA, but here I want to add a check if the row already exists, based on data in column CREATED_AT.
INSERT INTO MY_DATA (SITE_ID, USER_NAME, USER_NO, CREATED_AT)
VALUES (:siteId, :userName, :userNo, :createdAt)
Here if I try to insert the row with same value present in CREATED_AT column in the table it should not get inserted.
Using Oracle SQL developer for Database.
Please help I am new here.