wplecturer.com
0 votes
14 views

When inserting into a table using a select from another table and creating an error with a duplicate key, is it possible to find the value of the key that was duplicated?
in General by (67.0k points) | 14 views

1 Answer

0 votes

better to use a loop like

START THE LOOP:

  • read the record
  • check if key exists
  • if not insert
  • if yes write to table PROBLEMATIC_RECS
  • IS THIS LAST RECORD IF YES EXIT

GO TO START THE LOOP

Do something like this with PL/SQL or PHP or PRO*C

by (67.0k points)

1.6k questions

1.6k answers

81.6k users

4 Online Users
0 Member 4 Guest
Today Visits : 710
Yesterday Visits : 1257
Total Visits : 1891964
Dear All, These are my answers from Quora and primarily Google; please check the answer and from others sites; the answers are free and without any liability.To make a decision, write down all of the positives and negatives on a piece of paper.Thank you, Elias Katsaniotis, MSc.
1,644 questions
1,649 answers
81,583 users
@ 2022 V Katsanioti ,All rights reserved