Please start any new threads on our new
site at https://forums.sqlteam.com. We've got lots of great SQL Server
experts to answer whatever question you can come up with.
Author |
Topic |
BRingerOD
Starting Member
1 Post |
Posted - 2007-10-25 : 20:49:44
|
.Net Stored Procedures & ReplicationCan you do it? I have some transformation and business logic I need to place in the transactional replication process.Just curious if its possible.BTW, I know I should not be doing transformation during transactional replication. At the moment the client wants realtime updates to a central repository thought transactional replication. Thanks in advance!Bryan |
|
tkizer
Almighty SQL Goddess
38200 Posts |
Posted - 2007-10-25 : 21:57:21
|
Yes this is possible. By default, replication uses stored procedures to insert/update/delete the data at the subscriber. You can easily modify these stored procedures and include .NET stored procedures. In 2005, the stored procedure names are like this:sp_MS<dmlShort>_<objectOwner><objectName>For example:sp_MSdel_dboTable1sp_MSins_dboTable1sp_MSupd_dboTable1In 2000, the stored procedure names are like this:sp_MS<dmlShort>_<objectName>Tara KizerMicrosoft MVP for Windows Server System - SQL Serverhttp://weblogs.sqlteam.com/tarad/ |
|
|
|
|
|