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. database relationship problem

database relationship problem

Scheduled Pinned Locked Moved Database
databasehelp
3 Posts 3 Posters 1 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.
  • B Offline
    B Offline
    bapu2889
    wrote on last edited by
    #1

    hello I am working on one win app with sql database visual basic i have created 4 tables singlecustomer, jointcustomer, address and plotdetais. I have created relationship with all 4 tables singlecustomer with address and plotdetails second jointcustomer with address and plotdetails and then I have also created database diagram and it show all the relationships now when i drag and drop sql adapter to configure it database relationship dosent look right in query builder it's not showing correct relationship with all tables. in query builder when i add tables first time it's different relationship and then i canceled it and add tables second time with different order so it shows different relationship waiting for your kind help thanks

    M W 2 Replies Last reply
    0
    • B bapu2889

      hello I am working on one win app with sql database visual basic i have created 4 tables singlecustomer, jointcustomer, address and plotdetais. I have created relationship with all 4 tables singlecustomer with address and plotdetails second jointcustomer with address and plotdetails and then I have also created database diagram and it show all the relationships now when i drag and drop sql adapter to configure it database relationship dosent look right in query builder it's not showing correct relationship with all tables. in query builder when i add tables first time it's different relationship and then i canceled it and add tables second time with different order so it shows different relationship waiting for your kind help thanks

      M Offline
      M Offline
      Mycroft Holmes
      wrote on last edited by
      #2

      Sorry I don't understand what your problem is, you can change the join in query builder if they don't suit your query. Seems you have almost no knowledge of databases and are relying heavily on the built in tools to do your work for you. I suggest you get a basic book on database design and start learning. Using a forum for your basic learning is NOT a good idea, get a book or do a course!

      Never underestimate the power of human stupidity RAH

      1 Reply Last reply
      0
      • B bapu2889

        hello I am working on one win app with sql database visual basic i have created 4 tables singlecustomer, jointcustomer, address and plotdetais. I have created relationship with all 4 tables singlecustomer with address and plotdetails second jointcustomer with address and plotdetails and then I have also created database diagram and it show all the relationships now when i drag and drop sql adapter to configure it database relationship dosent look right in query builder it's not showing correct relationship with all tables. in query builder when i add tables first time it's different relationship and then i canceled it and add tables second time with different order so it shows different relationship waiting for your kind help thanks

        W Offline
        W Offline
        William Winner
        wrote on last edited by
        #3

        Let me try to rephrase this for you using sentence structure: "I am working with a windows app with sql database and vb. I have created 4 tables: singlecustomer jointcustomer address plotdetails I have created relationships with all 4 tables: singlecustomer related to plotdetails and address jointcustomer related to plotdetails and address I have created the database diagram and it shows all of the relationships. When I drag and drop a sql adapter to configure it, the database relationships don't look right in the query builder. In query builder when I add tables the first time, it shows a relationship. When I cancel it and add tables a second time in a different order, it shows a different relationship" Now, that's what your question looks like with proper sentence structure...however, it still doesn't make a lot of sense.

        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