当前位置:网站首页>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
边栏推荐
- remount of the / superblock failed: Permission denied
- Programmers exposed that they took private jobs: they took more than 30 orders in 10 months, with a net income of 400000
- Five minutes of machine learning every day: why do we need to normalize the characteristics of numerical types?
- 产品好不好,谁说了算?Sonar提出分析的性能指标,帮助您轻松判断产品性能及表现
- 微博、虎牙挺进兴趣社区:同行不同路
- 5G电视难成竞争优势,视频资源成中国广电最后武器
- Width and alignment
- leecode学习笔记-约瑟夫问题
- LVGL 8.2 Menu
- 局部修改-渐进型开发
猜你喜欢
Programmers exposed that they took private jobs: they took more than 30 orders in 10 months, with a net income of 400000
Deep learning neural network case (handwritten digit recognition)
信号处理之一阶RC低通滤波器宏指令实现(繁易触摸屏)
Preliminary exploration of flask: WSGI
MySQL组合索引(多列索引)使用与优化案例详解
The performance of major mainstream programming languages is PK, and the results are unexpected
微博、虎牙挺进兴趣社区:同行不同路
Kubernets Pod 存在 Finalizers 一直处于 Terminating 状态
音视频技术开发周刊 | 252
函数计算异步任务能力介绍 - 任务触发去重
随机推荐
UFO: Microsoft scholars have proposed a unified transformer for visual language representation learning to achieve SOTA performance on multiple multimodal tasks
Building intelligent gray-scale data system from 0 to 1: Taking vivo game center as an example
Ffprobe common commands
openresty 限流
智能客服赛道:网易七鱼、微洱科技打法迥异
浮点数如何与0进行比较?
Optimization method of deep learning neural network
Summer Review, we must avoid stepping on these holes!
Five minutes of machine learning every day: why do we need to normalize the characteristics of numerical types?
LVGL 8.2 List
宽度与对齐
Leecode learning notes - Joseph problem
Details of FPGA underlying resources
Redis 发布和订阅
LVGL 8.2 keyboard
C language course design questions
Halo effect - who says that those with light on their heads are heroes
[local differential privacy and random response code implementation] differential privacy code implementation series (13)
进制乱炖
曝光一下阿里的工资待遇和职位级别