×

Notice

The forum is in read only mode.

duplicate key insert

More
3 months 2 days ago #3296 by Elias Katsaniotis,MSc
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?
More
3 months 2 days ago #3297 by Elias Katsaniotis,MSc
better to use a loop likeSTART 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 LOOPDo something like this with PL/SQL or PHP or PRO*C
Time to create page: 0.223 seconds

Site Info

V. Katsanioti,

Russia,

Kaliningrad Oblast.

matizegr@yahoo.com

Visit counter

United States of America (the) 80.6% United States of America (the)
Russian Federation (the) 11.1% Russian Federation (the)
China 4.9% China

Total:

33

Countries
00001847
Today: 17
Yesterday: 55
This Week: 72
Last Week: 565
This Month: 1,767
Last Month: 81

Who's Online

We have 583 guests and no members online