I am using Microsoft SQL Azure (RTM) - 12.0.2000.8, where I configured the secure enclave with VBS where I am using keyvalut for creating column master key. All the operators are working fine except like. Able to insert, update with where clause.
Tried with DETERMINISTIC and RANDOMIZED both encryption type.
Below code is working:
EXEC sp_describe_parameter_encryption N'select * from test1 where gender like (@c1)', N'@c1 varchar(10)';
Below code is failing
declare @c1 varchar(10)='%Male%'
select Name from test1 where gender like @c1
error:
An error occurred while executing batch. Error message is: Error occurred when reading 'sp_describe_parameter_encryption' resultset. Attestation URL has not been specified in the connection string, but the query requires enclave computations. Enclave type is 'Virtualization Base Security'.
We are using SSMS version 12.2
Note: I have used all types of datatypes for the column/variable, such as nvarchar, varchar, and char.