Real-World SQL-DMO for SQL Server delves into the details of administering Microsoft SQL Server using the SQL-DMO object library. Authors Allan Mitchell and Mark Allison have packed the book with explanations and working code that will help you use the library to its full potential. Additionally, Mitchell and Allison offer advice about when (and when not) to use the SQL-DMO application programming interface (API).
The code in this book has been tried and tested at sites where database administrators routinely manage more than 50 SQL Servers, ensuring that the techniques can be implemented on environments of almost any scale.
Whether youre a developer or a database administrator, this book will take you to the next level in SQL Server administration.
1 Getting Started with SQL-DMO.- 2 Backup and Restore: A DBAs Bread and Butter.- 3 Managing Users of Your Database and Server.- 4 Using SQL-DMO with OLE Automation.- 5 Jobs, Alerts, and Operators.- 6 Viewing and Setting Server-wide Options.- 7 Replication and SQL-DMO.- 8 QALite.- 9 Using SQL-DMO to Script an Entire Server.- Appendix A SQL-DMO Object Library Quick Reference.- SQLServers Collection.- Databases Collection.- DatabaseRoles Collection.- FileGroups Collection.- DBFiles Collection.- FullTextCatalogs Collection.- StoredProcedures Collection.- Tables Collection.- Columns Collection.- Users Collection.- Views Collection.- Triggers Collection.- Jobs Collection.- JobSchedules Collection.- JobSteps Collection.- Operators Collection.- Logins Collection.- Replication Object.- The SQL-DMO Object Model.- Appendix B Knowledge-Base Articles and Other SQL-DMO Resources.- Bugs.- Fixes.- Problems.- Information and How-Tos.- Useful URLs.Allan Mitchell works as a lead data architect for a multinational media company in the United Kingdom. He provides developer and user support flS}