首页
学习
活动
专区
圈层
工具
发布
首页
学习
活动
专区
圈层
工具
MCP广场
社区首页 >问答首页 >在oracle中编写存储过程

在oracle中编写存储过程
EN

Stack Overflow用户
提问于 2016-07-04 17:31:25
回答 0查看 40关注 0票数 0

我是oracle的新手,我正面临着创建存储过程的问题。如果有人能帮上忙,我将不胜感激。

代码语言:javascript
复制
Create procedure in `ABC` schema with input params as: `NUM1`, `STATUS1`

Check if `NUM` exists in `ABC.STATUS` table

If exists

Update the `STATUS` with input parameter passed and `LAST_UPDATED` with `SYSDATE` of `ABC.STATUS`

Else

Insert record with `NUM` and `STATUS` with input parameters and `LAST_UPDATED` with `SYSDATE` of `ABC.STATUS`
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/38181285

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档