【问题标题】:Assign a query result into a variable in forms6i将查询结果分配给forms6i中的变量
【发布时间】:2017-04-13 16:18:17
【问题描述】:

我有一个名为“test”的表,其中有一列名为“A”,我想将此查询的结果存储到名为“B”的变量中:

select A from test where A = '1';

我确信结果是独一无二的。

【问题讨论】:

    标签: oracle variables plsql oracleforms


    【解决方案1】:
    select A into B from teste where A='1';
    

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2022-01-06
      • 2018-11-21
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多