Click here to view and discuss this page in DocCommentXchange. In the future, you will be sent there automatically.
SQL Anywhere 将所有用户定义的函数视为等幂函数,除非它们被声明为 NOT DETERMINISTIC。等幂函数为相同的参数返回一致的结果,并且没有副作用。以相同参数连续两次调用等幂函数会返回相同的结果,并且对查询的语义不会导致任何不良的副作用。
有关非确定性函数和确定性函数的详细信息,请参见函数高速缓存。