I simply want to insert the data to a SQL database table and if there is some data inserted already then I want to update that data. How can I do this using Java. Kindly help me
you have to first check the data exist in table if exist then use update query otherwise insert data its simple