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. Remote DML/DDL from different Nodes to MS SQL Server 2005

Remote DML/DDL from different Nodes to MS SQL Server 2005

Scheduled Pinned Locked Moved Database
databasesql-serversysadminhelptutorial
10 Posts 4 Posters 2 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.
  • N Offline
    N Offline
    nt_virus
    wrote on last edited by
    #1

    Hello. I was tried figuring out how to use my different pc to perform DML/DDL operation in Mircosoft SQL Server and whose effect will be shown in Main PC. There demo is described below. 3 PC. 2 PC = Client for DML/DDL Operation. 1 PC = Server to reflect changes. OS in 3 PCs = XP Pro. All 3 PCs have Sql Server 2005 installed. Now.. what I want to do is .. if I do any DML/DDL operation from those two pcs which acting as a client the changes should affect in the Main Server PC. I m not figuring out the way to LINK those two PC's SQL Server with the Main PC's SQL Server. Please assist me in finding a technique to solve this problem. We already connect these 3 pcs successfully with LAN but not getting a way to solve this problem.

    H M 2 Replies Last reply
    0
    • N nt_virus

      Hello. I was tried figuring out how to use my different pc to perform DML/DDL operation in Mircosoft SQL Server and whose effect will be shown in Main PC. There demo is described below. 3 PC. 2 PC = Client for DML/DDL Operation. 1 PC = Server to reflect changes. OS in 3 PCs = XP Pro. All 3 PCs have Sql Server 2005 installed. Now.. what I want to do is .. if I do any DML/DDL operation from those two pcs which acting as a client the changes should affect in the Main Server PC. I m not figuring out the way to LINK those two PC's SQL Server with the Main PC's SQL Server. Please assist me in finding a technique to solve this problem. We already connect these 3 pcs successfully with LAN but not getting a way to solve this problem.

      H Offline
      H Offline
      Henry Minute
      wrote on last edited by
      #2

      Is the SqlServer on these PCs the Express version?

      Henry Minute Do not read medical books! You could die of a misprint. - Mark Twain Girl: (staring) "Why do you need an icy cucumber?" “I want to report a fraud. The government is lying to us all.”

      1 Reply Last reply
      0
      • N nt_virus

        Hello. I was tried figuring out how to use my different pc to perform DML/DDL operation in Mircosoft SQL Server and whose effect will be shown in Main PC. There demo is described below. 3 PC. 2 PC = Client for DML/DDL Operation. 1 PC = Server to reflect changes. OS in 3 PCs = XP Pro. All 3 PCs have Sql Server 2005 installed. Now.. what I want to do is .. if I do any DML/DDL operation from those two pcs which acting as a client the changes should affect in the Main Server PC. I m not figuring out the way to LINK those two PC's SQL Server with the Main PC's SQL Server. Please assist me in finding a technique to solve this problem. We already connect these 3 pcs successfully with LAN but not getting a way to solve this problem.

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

        This sounds weird and not very good. Do you want all 3 servers to reflect the changes made in 1? There is not way that I know of to do this 'on the fly', you can use something like Red-Gate SQL Compare and data compare to synchronise the structure but this is a seperate operation, it generates a script that could be run on each server. Backup/Restore will include the data (obviously)

        Never underestimate the power of human stupidity RAH

        N 1 Reply Last reply
        0
        • M Mycroft Holmes

          This sounds weird and not very good. Do you want all 3 servers to reflect the changes made in 1? There is not way that I know of to do this 'on the fly', you can use something like Red-Gate SQL Compare and data compare to synchronise the structure but this is a seperate operation, it generates a script that could be run on each server. Backup/Restore will include the data (obviously)

          Never underestimate the power of human stupidity RAH

          N Offline
          N Offline
          nt_virus
          wrote on last edited by
          #4

          I have Developer Edition of SQL Server. What actually will happen is 2 data entry operators will enter datas from 2 pcs and the changes should be made in the database reside in my Server PC. It doesn't matter for me if those 2 pcs are having SQL Server installed. My main concern if DML/DDL from 2 pc should affect Server PC.

          M 1 Reply Last reply
          0
          • N nt_virus

            I have Developer Edition of SQL Server. What actually will happen is 2 data entry operators will enter datas from 2 pcs and the changes should be made in the database reside in my Server PC. It doesn't matter for me if those 2 pcs are having SQL Server installed. My main concern if DML/DDL from 2 pc should affect Server PC.

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

            What is the client the DE users are using?

            Never underestimate the power of human stupidity RAH

            N 1 Reply Last reply
            0
            • M Mycroft Holmes

              What is the client the DE users are using?

              Never underestimate the power of human stupidity RAH

              N Offline
              N Offline
              nt_virus
              wrote on last edited by
              #6

              Sorry I didn't get you mate. All PCs have Developer Edition [DE]. And application are made by me and my friends. Suppose when I open SQL Server 2005 and Run the Insert Query on a table then that insert should ALSO reflect in SERVER. We don't care if that Data will store in Client side too.

              J M 2 Replies Last reply
              0
              • N nt_virus

                Sorry I didn't get you mate. All PCs have Developer Edition [DE]. And application are made by me and my friends. Suppose when I open SQL Server 2005 and Run the Insert Query on a table then that insert should ALSO reflect in SERVER. We don't care if that Data will store in Client side too.

                J Offline
                J Offline
                Jerry Hammond
                wrote on last edited by
                #7

                Because this is such a broad issue I have posted a link to a resource that might help you out. Replication[^]

                “If you think you are worth what you know, you are very wrong. Your knowledge today does not have much value beyond a couple of years. Your value is what you can learn and how easily you can adapt to the changes this profession brings so often.”-– Jose M. Aguilar

                N 1 Reply Last reply
                0
                • N nt_virus

                  Sorry I didn't get you mate. All PCs have Developer Edition [DE]. And application are made by me and my friends. Suppose when I open SQL Server 2005 and Run the Insert Query on a table then that insert should ALSO reflect in SERVER. We don't care if that Data will store in Client side too.

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

                  I think your issues may be that you are using SQL Server as a client type tool. Normal design is a database server (sql server) and a client tool (winforms or web form). The client tool resides on the PCs and connect to the server. You seem to have 3 servers and the are using servers as clients. Thats why you are having trouble getting a sensible response. Nobody in their right minds would build such a solution. Go back to start and design your solution properly, build the client in C#/VB and have them connect to the server.

                  Never underestimate the power of human stupidity RAH

                  1 Reply Last reply
                  0
                  • J Jerry Hammond

                    Because this is such a broad issue I have posted a link to a resource that might help you out. Replication[^]

                    “If you think you are worth what you know, you are very wrong. Your knowledge today does not have much value beyond a couple of years. Your value is what you can learn and how easily you can adapt to the changes this profession brings so often.”-– Jose M. Aguilar

                    N Offline
                    N Offline
                    nt_virus
                    wrote on last edited by
                    #9

                    Thanks.. Sorry to say from my above post regarding this Suppose when I open SQL Server 2005 and Run the Insert Query on a table then that insert should ALSO reflect in SERVER. We don't care if that Data will store in Client side too This will provide inconsistency if 1 client is used to re-enter the data already entered by other client. So I think, continuous Synchronization should be there between databases as soon as any DDL/DML operation will done. How to achieve this ?

                    J 1 Reply Last reply
                    0
                    • N nt_virus

                      Thanks.. Sorry to say from my above post regarding this Suppose when I open SQL Server 2005 and Run the Insert Query on a table then that insert should ALSO reflect in SERVER. We don't care if that Data will store in Client side too This will provide inconsistency if 1 client is used to re-enter the data already entered by other client. So I think, continuous Synchronization should be there between databases as soon as any DDL/DML operation will done. How to achieve this ?

                      J Offline
                      J Offline
                      Jerry Hammond
                      wrote on last edited by
                      #10

                      nt_virus wrote:

                      So I think, continuous Synchronization should be there between databases as soon as any DDL/DML operation will done. How to achieve this ?

                      It's obvious you think you know the answer already. Let us know how that works for you.

                      “If you think you are worth what you know, you are very wrong. Your knowledge today does not have much value beyond a couple of years. Your value is what you can learn and how easily you can adapt to the changes this profession brings so often.”-– Jose M. Aguilar

                      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