If a host variable is being used for the cursor name, the DECLARE statement actually generates code and thus must be executed before the FETCH statement.

 
  • 如果主机变量用于游标名,则实际上是DECLARE语句生成代码,因此DECLARE语句必须在FETCH语句之前执行。
今日热词
目录 附录 查词历史