Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Database & SysAdmin
  3. Database
  4. what does this mean "Integrirty constraint vialoation" while trying to write data into oracle tables ?

what does this mean "Integrirty constraint vialoation" while trying to write data into oracle tables ?

Scheduled Pinned Locked Moved Database
oraclequestion
4 Posts 4 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • S Offline
    S Offline
    Sakthiu
    wrote on last edited by
    #1

    what does this mean "Integrity constraint violation" while trying to write data into oracle tables ? Thanks,

    Nice things do nice works

    T D S 3 Replies Last reply
    0
    • S Sakthiu

      what does this mean "Integrity constraint violation" while trying to write data into oracle tables ? Thanks,

      Nice things do nice works

      T Offline
      T Offline
      Tim Carmichael
      wrote on last edited by
      #2

      Well, at a guess... I would say the table you are tring to write to has constraints on it and the data you are inserting/updating violates those constraints. See if you can get a copy of the database schema for the affected table(s) to determine how you are violating the constraint. Tim

      1 Reply Last reply
      0
      • S Sakthiu

        what does this mean "Integrity constraint violation" while trying to write data into oracle tables ? Thanks,

        Nice things do nice works

        D Offline
        D Offline
        David Mujica
        wrote on last edited by
        #3

        Can you post the Oracle error code ? Something like ORA-00001 ... By having the error code, it would be easier to determine what is causing the problem.

        1 Reply Last reply
        0
        • S Sakthiu

          what does this mean "Integrity constraint violation" while trying to write data into oracle tables ? Thanks,

          Nice things do nice works

          S Offline
          S Offline
          shubhi
          wrote on last edited by
          #4

          There are 5 type of integrity constraints NOT NULL, UNIQUE KEY, PRIMARY KEY, FOREIGN KEY and CHECK. I think you aplied anyone of them in your table schema and voilating that. If a user tries to insert data that doesn't meet these requirements, Oracle will not allow so. :)

          "We can't solve problems by using the same kind of thinking we used when we created them"

          1 Reply Last reply
          0
          Reply
          • Reply as topic
          Log in to reply
          • Oldest to Newest
          • Newest to Oldest
          • Most Votes


          • Login

          • Don't have an account? Register

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • World
          • Users
          • Groups