It would be great if it were possible to pass parameters to the ExecuteSql() function when building a custom PBM condition.For instance, the Databases facet does not allow the ability to check for offline databases because they must be accessible in order for a policy to be evaluated.So, if I want to write a custom condition to check for this, I would like to be able to do:ExecuteSql('numeric','select status from sys.databases where database_id = @ID')where @ID is the property available under the Database facet.
Category
Proposed Solution
Benefits
Other Benefits