![](https://static.youtibao.com/asksite/comm/h5/images/m_q_title.png)
在下面程序的空白出填写一定的代码,使该函数可以获取指定编号的商品价格。Createorreplacefunctionget_price(p_IDvarchar2)()isv_pricenumber;BeginSelect单价()from商品信息where商品编号=();Returnv_price:ExceptionWhenno_date_foundthendbms_output.put_line(‘查找的商品不存在!’);Whertoo_many_rowsthenDbms_output.put_line(‘程序运行错误!请使用游标’);WhenothersthenDbms_output.put_line(‘发生其他错误!’);Endget_price;
![](https://static.youtibao.com/asksite/comm/h5/images/solist_ts.png)