Click here to view and discuss this page in DocCommentXchange. In the future, you will be sent there automatically.
对于指定的游标,DECLARE 语句中不允许有主机变量。如果游标名称是通过主机变量提供的,则您应使用完全动态 SQL,并准备该语句。预准备语句中可能已具有主机变量。