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. integrate data of some DB into ome, how to?

integrate data of some DB into ome, how to?

Scheduled Pinned Locked Moved Database
databasecsharpsql-serversysadmintutorial
5 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.
  • H Offline
    H Offline
    hs_rostami
    wrote on last edited by
    #1

    hi i have a program with c# and sql server 2005. i should install it on some stand_alone computers. For reporting i need to integrate these DB's data into one DB. I need a simple solution for a simple user to do that. could you give me a solution???

    M L 2 Replies Last reply
    0
    • H hs_rostami

      hi i have a program with c# and sql server 2005. i should install it on some stand_alone computers. For reporting i need to integrate these DB's data into one DB. I need a simple solution for a simple user to do that. could you give me a solution???

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

      hs_rostami wrote:

      could you give me a solution

      No There is no simple solution, either designed you application incorrectly or are in way over your head. You need to look into Replication or data wharehousing (although I doubt this applies) and your data need to be structured to support integrating it into 1 DB.

      Never underestimate the power of human stupidity RAH

      1 Reply Last reply
      0
      • H hs_rostami

        hi i have a program with c# and sql server 2005. i should install it on some stand_alone computers. For reporting i need to integrate these DB's data into one DB. I need a simple solution for a simple user to do that. could you give me a solution???

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

        hs_rostami wrote:

        For reporting i need to integrate these DB's data into one DB. I need a simple solution for a simple user to do that.

        Simple users aren't allowed near the database. Your easiest way out is to include an extra field in each table, called "DatabaseName". Next, change every sql statement to only update the data where that field matches your current client. It's not optimal, but it would allow for multiple databases to be stored in a single database-file.

        Bastard Programmer from Hell :suss: if you can't read my code, try converting it here[^]

        H 1 Reply Last reply
        0
        • L Lost User

          hs_rostami wrote:

          For reporting i need to integrate these DB's data into one DB. I need a simple solution for a simple user to do that.

          Simple users aren't allowed near the database. Your easiest way out is to include an extra field in each table, called "DatabaseName". Next, change every sql statement to only update the data where that field matches your current client. It's not optimal, but it would allow for multiple databases to be stored in a single database-file.

          Bastard Programmer from Hell :suss: if you can't read my code, try converting it here[^]

          H Offline
          H Offline
          hs_rostami
          wrote on last edited by
          #4

          I have the same database on different computers, with different raw data of any department, but structures and tables are the same. i have no network, i wanna bring these data toghether for reporting. for example I have these DB's: database 1 : person1 , persson2 database 2 : person3 , persson4 database 3 : person5 , persson6 and I need this for reporting: General Database: person1 , persson2, person3 , persson4, person5 , persson6

          L 1 Reply Last reply
          0
          • H hs_rostami

            I have the same database on different computers, with different raw data of any department, but structures and tables are the same. i have no network, i wanna bring these data toghether for reporting. for example I have these DB's: database 1 : person1 , persson2 database 2 : person3 , persson4 database 3 : person5 , persson6 and I need this for reporting: General Database: person1 , persson2, person3 , persson4, person5 , persson6

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

            Same applies; if you had a field called "database", you could drop them all in the same structure. Small example; EmplyeeTable

            Id Name OtherStuff
            1 John Bla

            becomes; EmplyeeTable

            Id Name OtherStuff Database
            1 John Bla Customer1

            That way you could select everything from that customer, even if there's more than one customers data.

            Bastard Programmer from Hell :suss: if you can't read my code, try converting it here[^]

            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