Click here to view and discuss this page in DocCommentXchange. In the future, you will be sent there automatically.

SQL Anywhere 12.0.0 (中文) » SQL Anywhere 服务器 - SQL 的用法 » 存储过程和触发器 » 调试过程、函数、触发器和事件 » 教程:调试程序入门 » 第 2 课:调试存储过程

 

运行 debugger_tutorial 过程

debugger_tutorial 过程应该返回包含排在第一位的公司及其订购的产品价值的结果集。由于错误所致,它不会返回此结果集。在本课中,您要运行该存储过程。

 ♦  运行 debugger_tutorial 存储过程
  1. 在 Sybase Central 的左窗格中,双击 [过程和函数]。

  2. 右击 [Debugger_Tutorial (GROUPO)],选择 [从 Interactive SQL 执行]。

    Interactive SQL 将打开并显示以下结果集:

    top_company top_value
    (NULL) (NULL)

    这是错误的结果。教程的剩余部分将诊断生成此结果的错误。

  3. 关闭 Interactive SQL。