加入收藏 | 设为首页 | 会员中心 | 我要投稿 李大同 (https://www.lidatong.com.cn/)- 科技、建站、经验、云计算、5G、大数据,站长网!
当前位置: 首页 > 站长学院 > MsSql教程 > 正文

PL / SQL中的min函数

发布时间:2020-12-12 07:29:47 所属栏目:MsSql教程 来源:网络整理
导读:我想在两个日期中选择最小值,例如 c := min(a,b); 它占用编译器错误: Error(20,10): PLS-00103: Encountered the symbol “,” when expecting one of the following: . ( ) * @ % – + / at mod remainder rem || multiset 我知道我们可以在SQL中使用聚合函
我想在两个日期中选择最小值,例如
c := min(a,b);

它占用编译器错误:

Error(20,10): PLS-00103: Encountered
the symbol “,” when expecting one of
the following:
. ( ) * @ % & – + /
at mod remainder rem || multiset

我知道我们可以在SQL中使用聚合函数Min.我不知道是否有类似的功能我可以使用我的pl / sql?

解决方法

在PLSQL中,最小函数返回表达式列表中的最小值.

(编辑:李大同)

【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容!

    推荐文章
      热点阅读