参数标记Parameter Markers

根据 SQL-92 规范,应用程序不能将参数标记置于以下位置。In accordance with the SQL-92 specification, an application cannot place parameter markers in the following locations. 有关更全面的列表,请参阅 SQL-92 规范。For a more comprehensive list, see the SQL-92 specification.

  • 选择列表中In a SELECT list

  • 作为比较谓词中的两个表达式As both expressions in a comparison-predicate

  • 作为二元运算符的两个操作数As both operands of a binary operator

  • 作为运算第一个和第二个操作数As both the first and second operands of a BETWEEN operation

  • 作为运算第一个和第三个操作数As both the first and third operands of a BETWEEN operation

  • 作为的表达式和的第一个值As both the expression and the first value of an IN operation

  • 作为一元 + 或-运算的操作数As the operand of a unary + or - operation

  • 作为函数引用的参数As the argument of a set-function-reference

有关参数标记的详细信息,请参阅 SQL-92 规范。For more information about parameter markers, see the SQL-92 specification. 有关参数的详细信息,请参阅语句参数For more information about parameters, see Statement Parameters.