I have two databases in which I am attempting to two seperate tables in sync. The application which came with the DB #2 is crummy and keeps on crashing. I have checked out the source and destination tables and have mapped a potential solution to my woes... but I need some help. From DB1, when it's table is updated or a row is inserted, I want to extract the common reference with a trigger... easy as pie... then (this is where I have no footing...) I want to run a stored procedure using the common reference (soI have the associated data with the reference... then I want to take that info, and connect to a table located on db2 and do an insert. The sp should give me like 5 bits of data... but I don't know how to get the data from the sp to the insert....
Start Free Trial