Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Replication question

Status
Not open for further replies.

ronmon

IS-IT--Management
Feb 25, 2002
66
IE
I am new to SQL Server and i have started devoleping a distributed database initially i was looking to employ replicaiton a lot but then after discovering Linked Servers it seems a lot easier to use this method to transfer data between servers.

I was just wondering if anyone could let me know why use replication instead of linked servers

 
Replication and linked servers are used for different purposes.

Linked servers are used to access data on a remote server, that isn't storred in the local server.

Replication is used to make a perfect copy of the table or tables which are published within the publication.

This could certinaly be done through linked servers via your own code, but why re-envent the wheel.

Denny

--Anything is possible. All it takes is a little research. (Me)
 
thanks but i have come across a problem that with a particular stored procedure thats updates a number of tables on seprate servers that if i use replication it doesn't happen fast enough to maintain integrity is there a way of running a stored procedure that will run another stored procedure when a certain action has happened i.e. table has been updated

 
Yes. That would be a trigger. In Books OnLine look under the topic "triggers".

Denny

--Anything is possible. All it takes is a little research. (Me)
 
no problem.

Denny

--Anything is possible. All it takes is a little research. (Me)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top