sample VB.NET code for sql data compare with backups
RBohannon
Posts: 25
Hello,
Do you have any sample code for calling SDC 6 from VB when comparing two backup files? The output will be a SQL change script. I'm using VB.NET 2.0 and SQL Server 2005.
Thank you.
Do you have any sample code for calling SDC 6 from VB when comparing two backup files? The output will be a SQL change script. I'm using VB.NET 2.0 and SQL Server 2005.
Thank you.
Comments
You will need a few extra references in your project...
And here's the example code I've written, the only real difference between comparing to a live database and a backup database is the method of registration - apart from that they can be used the same ( except of course synchronizing to a backup ).
Project Manager
Red Gate Software Ltd
When is 6.1 coming out?
Project Manager
Red Gate Software Ltd
If I have issues in the future, does Redgate have a public code library where I can find sample code? I couldn't find one.
Also I forgot another dll (Rob has just berated me for being forgetful)
I've updated the dlls in the post above (SQLite.dll *is* .NET) - D'Oh)
- Got that Friday feeling.
Project Manager
Red Gate Software Ltd
http://www.mindfiresolutions.com/Backup-SQL-Database-Through-Code-In-VBNET-846.php
Eliza