Server Audit Mystery: Filtering class_type gets Error Msg 25713

Server Audits allow filtering on certain fields. Two fields claim to be strings, yet don't accept strings for filters. Here's how I figured out filtering on object_type 🙂

Stored Procedure / Function / View / Trigger Definitions Can Be Wrong, Even If sp_rename Was Never Used

Some object definitions will be wrong after using sp_rename. But there's another way to have an out-of-sync definition that most are unaware of.