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. Table change Watch In SQL 2000

Table change Watch In SQL 2000

Scheduled Pinned Locked Moved Database
databasesql-serversysadminhelpquestion
3 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.
  • G Offline
    G Offline
    GDMFSOB
    wrote on last edited by
    #1

    Hi, Is there anyway to have SQL Server 2000 run a function on a database if a specific table is updated or a row added? my problem is this I am having to work with two seperate databses for 2 sepreate programs, I need data from the first program in my second program, but if anybody adds a new row or record to my table in database 1, I want to update the table in my second database using an sql server auto function, and the server must run a change on db2 if the table in db 1 is changed. I hope this made sense, the main reason for doing this I do not have access to the source code for the first program so this must happen on the DB side.

    S 1 Reply Last reply
    0
    • G GDMFSOB

      Hi, Is there anyway to have SQL Server 2000 run a function on a database if a specific table is updated or a row added? my problem is this I am having to work with two seperate databses for 2 sepreate programs, I need data from the first program in my second program, but if anybody adds a new row or record to my table in database 1, I want to update the table in my second database using an sql server auto function, and the server must run a change on db2 if the table in db 1 is changed. I hope this made sense, the main reason for doing this I do not have access to the source code for the first program so this must happen on the DB side.

      S Offline
      S Offline
      sumit7034
      wrote on last edited by
      #2

      i dont know exactly but i think it can be done with the help of Triggers

      G 1 Reply Last reply
      0
      • S sumit7034

        i dont know exactly but i think it can be done with the help of Triggers

        G Offline
        G Offline
        GDMFSOB
        wrote on last edited by
        #3

        thanks man, I been searching the whole day for SQL watch, not trigger lol thanks man.

        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