I am working on a business application that had been developed using ASP.NET (C#) & SQL Server 2000. I want to develop a mechanism to automatically transfer some data from my SQL Server database to a sybase database after every 5 minutes.
According to my current knowledge, there are two approaches to achieve this.
Use timer to start a thread in my ASP.NET application that reads data from SQL Server & write to Sybase.
Develop a Windows Service that reads data from SQL Server & write to Sybase.
So my questions are:
- Which option is best?
- What are the pros & cons of each option?
- Is there any other approach available to do this data transfer?