SDU Tools are free tools and example T-SQL code for SQL Server developers and DBAs. SetDatabaseCompabilityForAllDatabasesToMaximum is a stored procedure that sets all your databases to the maximum allowable database compatibility level supported by the server.
To join SDU Insiders and get all our free resources, including SDU Tools, see the details at http://sdutools.sqldownunder.com