avmood:The table structure are exactly the same except one is with mysql and the other is sqlserver. I need to transfer data from the mysql site to sqlserver site. What is the best way to do this? I'm planning to dump everything in xml and write a stored procedure on the sqlserver to load and parse the data. Is this is a good way of doing it?
I would not do that.
SQL Server has a DTS/SSIS import wizard that can get data from various sources and import them into the SQL Server database/tables.
Because the table structures are the same as you said, then this is a straight forward import.
If you are using SQL Server 2000 then you would use the DTS import export wizard, if you are using SQL Server 2005 you would use the SSIS wizard. What you would do is set up a source destination which would be your MySQL database. SQL Server has connections to a MySQL database so now worries there. Then you set up the destination database which is your SQL Server. You would then set up which tables you want to export from MySQL and import into SQL Server. You can then define a schedule for how often it runs like 2am in the morning when activity should be at its lowest.