add comments about ae not supporting parameters in select list

This commit is contained in:
v-kaywon 2017-12-19 15:17:01 -08:00
parent 294537ecb3
commit 99f27700b1
3 changed files with 3 additions and 0 deletions

View file

@ -81,6 +81,7 @@ try {
dropTable($conn, $tableName);
unset($conn);
} catch (Exception $e) {
// binding parameters in the select list is not supported with Column Encryption
$expMsg = "Implicit conversion from data type sql_variant to nvarchar(max) is not allowed. Use the CONVERT function to run this query.";
$aeExpMsg = "Invalid Descriptor Index";
checkError($e, $expMsg, $aeExpMsg);

View file

@ -48,6 +48,7 @@ if (!isAEConnected()) {
$s = $db->prepare("SELECT :prefix + TITLE FROM cd_info GROUP BY :prefix + TITLE", $option);
$s->bindValue(':prefix', "");
} else {
// binding parameters in the select list is not supported with Column Encryption
$s = $db->prepare("SELECT TITLE FROM cd_info GROUP BY TITLE", $option);
}
$s->execute();

View file

@ -82,6 +82,7 @@ try {
dropTable($conn, $tbname);
unset($conn);
} catch (PDOexception $e) {
// binding parameters in the select list is not supported with Column Encryption
$expMsg = "Statement with emulate prepare on does not support output or input_output parameters.";
$aeExpMsg = "Invalid Descriptor Index";
checkError($e, $expMsg, $aeExpMsg);