当前位置:网站首页>Usage of database functions "recommended collection"
Usage of database functions "recommended collection"
2022-07-04 15:06:00 【Full stack programmer webmaster】
Hello everyone , I meet you again , I'm your friend, Quan Jun .
dgkhjbxx– Customer list Column (khmc) Customer name Column (khbh) Customer number
apply_main_crdt– The application form Column (cust_no) Customer number
create or replace function cmis_getkhmc(id varchar2)
return varchar2 is khmc_mingcheng dgkhjbxx.khmc%type;
begin
select a.khmc into khmc_mingcheng from dgkhjbxx a where a.khbh=id;
return khmc_mingcheng;
end;
sql The usage in is
select cmis_getkhmc(cust_no) from apply_main_crdt;
This usage is in the corresponding table (dgkhjbxx) There is a corresponding customer number , To find the corresponding name ,
If there is no corresponding number, it will be empty , If there is a corresponding number, the corresponding customer name will be displayed
Publisher : Full stack programmer stack length , Reprint please indicate the source :https://javaforall.cn/149321.html Link to the original text :https://javaforall.cn
边栏推荐
- 深度学习 神经网络的优化方法
- 十六进制
- How to build a technical team that will bring down the company?
- Kubernets Pod 存在 Finalizers 一直处于 Terminating 状态
- Summer Review, we must avoid stepping on these holes!
- 输入宽度!
- MySQL组合索引(多列索引)使用与优化案例详解
- Graduation season - personal summary
- Ffprobe common commands
- LVGL 8.2 Line wrap, recoloring and scrolling
猜你喜欢
03 storage system
5g TV cannot become a competitive advantage, and video resources become the last weapon of China's Radio and television
Leetcode 1200 minimum absolute difference [sort] the way of leetcode in heroding
近一亿美元失窃,Horizon跨链桥被攻击事件分析
夜天之书 #53 Apache 开源社群的“石头汤”
Halcon knowledge: NCC_ Model template matching
IO流:节点流和处理流详细归纳。
智能客服赛道:网易七鱼、微洱科技打法迥异
TechSmith Camtasia studio 2022.0.2 screen recording software
Quick introduction to automatic control principle + understanding
随机推荐
宽度精度
Implementation of macro instruction of first-order RC low-pass filter in signal processing (easy touch screen)
暑期复习,一定要避免踩这些坑!
Comment configurer un accord
毕业季-个人总结
现代控制理论入门+理解
Ranking list of databases in July: mongodb and Oracle scores fell the most
Force button brush question 01 (reverse linked list + sliding window +lru cache mechanism)
Decimal, exponential
C language small commodity management system
Memory management summary
如何搭建一支搞垮公司的技术团队?
Graduation season - personal summary
When synchronized encounters this thing, there is a big hole, pay attention!
LVGL 8.2 LED
深度学习 神经网络的优化方法
Kubernets pod exists finalizers are always in terminating state
曝光一下阿里的工资待遇和职位级别
Is it safe to open an account online for stock speculation? Will you be cheated.
Expose Ali's salary and position level