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