Quantcast
Channel: Forum SQL Server Database Engine
Viewing all articles
Browse latest Browse all 15694

Policy-Based Management: Compatability Level IN Version100, Version110

$
0
0

I am trying to create a condition to test the compatability level of a database to ensure that it is either Version100 or Version110 that will work on either a SQL2008R2SP2CU3 or SQL2012 server.

I have tried:

@CompatabilityLevel IN Array(Version100,Version110)

@CompatabilityLevel IN Array('Version100','Version110')

But I get the error "Requested value 'Array(Version100,Version110)' was not found

or

But I get the error "Requested value 'Array('Version100','Version110')' was not found


Viewing all articles
Browse latest Browse all 15694

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>