Click here to view and discuss this page in DocCommentXchange. In the future, you will be sent there automatically.
指定在 Interactive SQL 的 [结果] 窗格中能否出现多个结果集。
On、Off
Off
如果在执行返回多个 SELECT 语句的过程时想让 Interactive SQL 在 [结果] 窗格中显示多个结果集,请将此选项设置为 On。
每个结果集在 [结果] 窗格中均出现在单独的选项卡上。缺省情况下,Interactive SQL 不显示多个结果集。此选项的设置同样适用于作为命令行程序运行的 Interactive SQL。
Interactive SQL 作为窗口应用程序运行时,isql_show_multiple_result_sets 选项也显示为 [显示所有结果集]。请参见返回多个结果集。
部署 Interactive SQL 时,可防止用户设置 isql_show_multiple_result_sets 选项。请参见showMultipleResultSets。
执行以下语句可将 isql_show_multiple_result_sets 设置为 On。
SET OPTION isql_show_multiple_result_sets=On
要在 Interactive SQL 中测试过程 ListPeople 并查看多个结果集,请在 Interactive SQL 中执行以下语句:
SET OPTION isql_show_multiple_result_sets=On; CALL ListPeople ();