过程名为pUpdate),更改规则如下:“电脑”类商品降价10%,“电视”类商品降价6%,“冰箱”类商品降价3%,其他商品不降价。以商品的分类作为输入参数,假设“分类”为字符串类型,长度最多为6个汉字。如果商品表中没有用户指定的分类,则用输出参数返回字符串“指定的分类不存在”;如果用户指定的分类存在,则用输出参数返回字符串“修改已成功”。
(小弟Oracle初学者,请哪位大大耐心帮忙看下(请给出详细代码,代码中仅使用最简单的动态SQL即可,不要用其它高级特性,否则初学者看不懂。O(∩_∩)O~)
我想要个ORACLE版本的答案。sql server版的答案我有,但我是学oracle的初学者,看不懂其它版本的代码