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