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. Web Development
  3. ASP.NET
  4. How to get my local database intimated?

How to get my local database intimated?

Scheduled Pinned Locked Moved ASP.NET
databasesysadmintutorialquestionannouncement
4 Posts 2 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.
  • J Offline
    J Offline
    Jagadeesh Jupalli
    wrote on last edited by
    #1

    Hi, Can any one suggest me a way to get my local database intimated whenever there is an insert/update occurring in my Remote server. Regards, Jagadeesh

    N 1 Reply Last reply
    0
    • J Jagadeesh Jupalli

      Hi, Can any one suggest me a way to get my local database intimated whenever there is an insert/update occurring in my Remote server. Regards, Jagadeesh

      N Offline
      N Offline
      Not Active
      wrote on last edited by
      #2

      A little more detail please. What do you mean by "local database"? You have a central database which you want to replicate changes to satellite databases on your webserver?


      only two letters away from being an asset

      J 1 Reply Last reply
      0
      • N Not Active

        A little more detail please. What do you mean by "local database"? You have a central database which you want to replicate changes to satellite databases on your webserver?


        only two letters away from being an asset

        J Offline
        J Offline
        Jagadeesh Jupalli
        wrote on last edited by
        #3

        Hi, Thank you for replying. I want to give more details about my question. In my question “local database” means my SQL Server database in my desktop machine. I know my remote server can no way communicate with my local machine ;) Condition: Local DB must be updates soon after the remote server is updated. (Max. 5 mins. time) What I am planning to do: On Remote server: Whenever there is an insert in the database after inserting I will be writing the same insert statement in a text file. If there is another insert I want to simply append it to the text file. On My Windows Machine: I want to develop a windows application that will be accessing the text file every 3-5 minutes, Updates the local database in my machine and process it locally. Problem: Expecting 5-8 inserts in database per day my solution may not be the best choice. Plz let me know any other alternatives. Regards, Jagadeesh

        N 1 Reply Last reply
        0
        • J Jagadeesh Jupalli

          Hi, Thank you for replying. I want to give more details about my question. In my question “local database” means my SQL Server database in my desktop machine. I know my remote server can no way communicate with my local machine ;) Condition: Local DB must be updates soon after the remote server is updated. (Max. 5 mins. time) What I am planning to do: On Remote server: Whenever there is an insert in the database after inserting I will be writing the same insert statement in a text file. If there is another insert I want to simply append it to the text file. On My Windows Machine: I want to develop a windows application that will be accessing the text file every 3-5 minutes, Updates the local database in my machine and process it locally. Problem: Expecting 5-8 inserts in database per day my solution may not be the best choice. Plz let me know any other alternatives. Regards, Jagadeesh

          N Offline
          N Offline
          Not Active
          wrote on last edited by
          #4

          Merge replication Database mirroring SQL Notification Services SQL Service Broker MSMQ Writing to a file and polling it is the least desirable solution and very amateur.


          only two letters away from being an asset

          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