For insert operation in below code, the insert query executed successfully but the update query threw an exception.
Expected result : in case of any exce