当前位置:网站首页>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
边栏推荐
- Yyds dry goods inventory # solve the real problem of famous enterprises: continuous maximum sum
- 夜天之书 #53 Apache 开源社群的“石头汤”
- Halcon knowledge: NCC_ Model template matching
- 关于FPGA底层资源的细节问题
- Decimal, exponential
- Programmers exposed that they took private jobs: they took more than 30 orders in 10 months, with a net income of 400000
- Kubernets pod exists finalizers are always in terminating state
- .Net之延迟队列
- LVGL 8.2 Draw label with gradient color
- Who the final say whether the product is good or not? Sonar puts forward performance indicators for analysis to help you easily judge product performance and performance
猜你喜欢
Luo Gu - some interesting questions 2
5G电视难成竞争优势,视频资源成中国广电最后武器
UFO: Microsoft scholars have proposed a unified transformer for visual language representation learning to achieve SOTA performance on multiple multimodal tasks
Redis的4种缓存模式分享
如何配和弦
UFO:微软学者提出视觉语言表征学习的统一Transformer,在多个多模态任务上达到SOTA性能!...
曝光一下阿里的工资待遇和职位级别
LeetCode 1200 最小绝对差[排序] HERODING的LeetCode之路
Details of FPGA underlying resources
程序员自曝接私活:10个月时间接了30多个单子,纯收入40万
随机推荐
Five minutes of machine learning every day: why do we need to normalize the characteristics of numerical types?
近一亿美元失窃,Horizon跨链桥被攻击事件分析
重排数组
为什么国产手机用户换下一部手机时,都选择了iPhone?
What are the concepts of union, intersection, difference and complement?
Deep learning neural network case (handwritten digit recognition)
Summary of common problems in development
SAIC Maxus officially released its new brand "mifa", and its flagship product mifa 9 was officially unveiled!
2022 financial products that can be invested
How to build a technical team that will bring down the company?
numpy笔记
LVGL 8.2 LED
深度学习 神经网络案例(手写数字识别)
暑期复习,一定要避免踩这些坑!
[learning notes] matroid
LVGL 8.2 Sorting a List using up and down buttons
文本挖掘工具的介绍[通俗易懂]
PLC模拟量输入 模拟量转换FC S_ITR (CODESYS平台)
Dialogue with ye Yanxiu, senior consultant of Longzhi and atlassian certification expert: where should Chinese users go when atlassian products enter the post server era?
Halo effect - who says that those with light on their heads are heroes