day70-oracle 12-Java调用存储过程和存储函数

 


 

我们现在调用的是存储过程和存储函数。用CallableSatement调用存储函数和存储过程。


RDBMS:关系数据库。使用标准方式调用存储过程。也就是说:在mysql中调用和在oracle中调用的写法是一样的。这个SQL语句不用我们写,下面两行字分别调用存储过程和存储函数的SQL语句的写法。

  {?= call <procedure-name>[(<arg1>,<arg2>, ...)]} 调用存储函数
   {call <procedure-name>[(<arg1>,<arg2>, ...)]}  调用存储过程

 

posted on 2017-03-30 10:14  绿茵好莱坞  阅读(129)  评论(0编辑  收藏  举报

导航