I can send the result of a query as attachement to an e-mail message by running the following script:
EXEC xp_sendmail @recipients = 'chadi',
@query = 'SELECT * FROM Vmdb2..Customers',
@subject = 'Customers',
@message = 'The contents of Customers',
@attach_results = 'TRUE', @width = 250
I need to set up the following replication scenario:
Transactional replication between 2 sites.
I want to replicate data by using Microsoft Exchange 2000 so data will be extracted from the source database tables then it will be attached to an e-mail message and then sent to the destination server through Microsoft Exchange Server 2000. The destination server will read the e-mail message and extract the data from attached file and then insert it to the destination database tables.
Could anybody provide some help about this issue. Especially about writing Transactions marked for replication in one database to a text file or any other file formats.
Many thanks
EXEC xp_sendmail @recipients = 'chadi',
@query = 'SELECT * FROM Vmdb2..Customers',
@subject = 'Customers',
@message = 'The contents of Customers',
@attach_results = 'TRUE', @width = 250
I need to set up the following replication scenario:
Transactional replication between 2 sites.
I want to replicate data by using Microsoft Exchange 2000 so data will be extracted from the source database tables then it will be attached to an e-mail message and then sent to the destination server through Microsoft Exchange Server 2000. The destination server will read the e-mail message and extract the data from attached file and then insert it to the destination database tables.
Could anybody provide some help about this issue. Especially about writing Transactions marked for replication in one database to a text file or any other file formats.
Many thanks