1. 首页
  2. 数据库
  3. 其它
  4. oracle if else语句使用介绍

oracle if else语句使用介绍

上传者: 2020-12-21 18:36:40上传 PDF文件 24.11KB 热度 31次
接收contract_no和item_no值,在inventory表中查找,如果产品: 已发货,在arrival_date中赋值为今天后的7天 已订货,在arrival_date中赋值为今天后的一个月 既无订货又无发货,则在arrival_date中赋值为今天后的两个月, 并在order表中增加一条新的订单记录。 product_status的列值为’shipped’和’ordered’ inventory: product_idnumber(6) product_descriptionchar(30) product_statuschar(20) std_shipp
下载地址
用户评论