- 5
- 0
- 约5.84千字
- 约 14页
- 2017-09-26 发布于河南
- 举报
年龄算法(Age algorithm)
年龄算法(Age algorithm)
function fun _ get _ nl (for _ csrq dates, to _ dqrq dates, as _ xz in varchar2) return varchar2 is
result varchar2 (50).
no _ months number;
no _ days number;
no _ year number.
d _ dqrq dates;
s _ xz varchar2 (20).
s _ nl varchar2 (50).
begin
if to _ csrq is null or to _ csrq = to _ dates (1900 - 1 - 1 , yyyy-mm-dd ) then
result: = ;
return (result);
end if;
if to _ dqrq is null or to _ dqrq = to _ dates (1900 - 1 - 1 , yyyy-mm-dd ) then
d _ dqrq: = sysdate;
else
d _ dqrq: = _ dqrq;
end if;
if as _ xz is null then
d = _ xz: banlsf;
else
s _ xz = as _ xz.
end if;
- 计算日数
s
您可能关注的文档
- 利用优势限制竞争,在华跨国公司负面影响扩大(The use of advantages to limit competition, the negative impact of transnational corporations in China to expand).doc
- 利用次核心技术构建竞争优势(Using sub core technology to build competitive advantage).doc
- 利益平衡在司法中的适用领域和范围(The applicable fields and scope of interest balance in judicature).doc
- 前导词2(Heading 2).doc
- 剖解富士康为中国制造赋予人的尊严(Foxconn Chinese manufacturing anatomy gives us dignity).doc
- 剖析09年最抢手行业管理(Analysis of 09 years of the most sought after industry management).doc
- 力叉车液压系统的常见故障与维修方法(Common troubles and maintenance methods of hydraulic system of power fork lift truck).doc
- 努力发展县域经济 加快培植财源力度(Efforts should be made to develop county economy and speed up the cultivation of financial resources).doc
- 励志整理(Inspiring arrangement).doc
- 劳动法习题(Exercises in labor law).doc
最近下载
- 二年级下册《道德与法治》教案和课后反思 .docx VIP
- 2026年全国保密教育线上培训考试试题库(附答案).docx VIP
- 2024年集美大学诚毅学院马克思主义基本原理概论期末考试笔试真题汇编.docx VIP
- 甘肃农垦集团笔试题目及答案.docx VIP
- 2025年集美大学诚毅学院马克思主义基本原理概论期末考试笔试真题汇编.docx VIP
- 2025年博士毕业论文答辩PPT课件.pptx VIP
- 汤唯《色·戒》后爱情转身.doc VIP
- 建筑施工合同中英文对照.docx VIP
- 【真题】七年级下学期期末考试数学试卷(含解析)福建省福州延安中学2024—2025学年.docx VIP
- 2024年职业院校技能大赛《心理健康与职业生涯》教学实施报告PPT.pptx
原创力文档

文档评论(0)