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. General Programming
  3. Java
  4. database problem

database problem

Scheduled Pinned Locked Moved Java
databasehelpquestion
6 Posts 3 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.
  • P Offline
    P Offline
    pancakeleh
    wrote on last edited by
    #1

    Hello i come across this problem when i am trying to delete info from my database. Screenshot here: ""[^] any solution?

    L T 2 Replies Last reply
    0
    • P pancakeleh

      Hello i come across this problem when i am trying to delete info from my database. Screenshot here: ""[^] any solution?

      L Offline
      L Offline
      Lost User
      wrote on last edited by
      #2

      The message appears to be reaonably clear. It appears that you are trying to delete something but there is more than one row that matches and the DB does not know which one to delete.

      Just say 'NO' to evaluated arguments for diadic functions! Ash

      P 1 Reply Last reply
      0
      • L Lost User

        The message appears to be reaonably clear. It appears that you are trying to delete something but there is more than one row that matches and the DB does not know which one to delete.

        Just say 'NO' to evaluated arguments for diadic functions! Ash

        P Offline
        P Offline
        pancakeleh
        wrote on last edited by
        #3

        meaning i have 2 attributes with the same values? however when i try to change it i am still unable to delete.

        T L 2 Replies Last reply
        0
        • P pancakeleh

          Hello i come across this problem when i am trying to delete info from my database. Screenshot here: ""[^] any solution?

          T Offline
          T Offline
          TorstenH
          wrote on last edited by
          #4

          "no unique row" - don't you have an ID or another Key-Value in that db-table to identify the row? A ID is always a good thing, even if you barely use it. regards, Torsten

          I never finish anyth...

          1 Reply Last reply
          0
          • P pancakeleh

            meaning i have 2 attributes with the same values? however when i try to change it i am still unable to delete.

            T Offline
            T Offline
            TorstenH
            wrote on last edited by
            #5

            you have 2 rows in your dataset table (not the GUI table!), which can not be clearly identified by the values you want to identify it with. example: row1 India Asia Delhi ... row2 India Asia Bombay ... You can not delete that one row with "India" and "Asia" as your database does not know which you meant. You can delete the row with "India" and "Bombay" or the row with "Asia" and "Bombay". This works, as it is clearly identified. regards, Torsten

            I never finish anyth...

            1 Reply Last reply
            0
            • P pancakeleh

              meaning i have 2 attributes with the same values? however when i try to change it i am still unable to delete.

              L Offline
              L Offline
              Lost User
              wrote on last edited by
              #6

              Try posting this in the Database forum; I see nothing about Java here.

              Just say 'NO' to evaluated arguments for diadic functions! Ash

              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