包:
create or replace package MyTestPkg is
-- Author : WANGTL
-- Created : 2011-9-15 13:47:06
-- Purpose : forTest
-- Public function and procedure declarations
-- function < FunctionName > (< Parameter > < Datatype >) return < Datatype >;
function getCustNameCode(v_custId in cm_customer.cust_id%type)
return varchar2 ;
end MyTestPkg;
/
create or replace package body MyTestPkg is
function getCustNameCode(v_custId in cm_customer.cust_id%type)
return varchar2 is
Result varchar2(100);
begin
select t.cust_code || ' ' || t.cust_name
into Result
from so1.cm_customer t
where t.cust_id = v_custId;
return(Result);
end getCustNameCode;
end MyTestPkg;
/
分享到:
相关推荐
R语言函数包学习手册,R语言用的函数,使用方法,代码举例
Java反射中java.beans包学习总结.docx
Burpsuite 抓包学习工具
javalang包学习教案.pptx
莫烦Python三大处理包学习
组织系统工具包学习手册.doc
组织系统工具包学习手册范本.doc
组织系统工具包学习手册簿.pdf
输入输出和javaio包学习教案.pptx
java_util包学习笔记,包括所有util包的普通类,异常类和接口类,详细介绍了各个类的使用说明和例子。
matlabMatlab包学习指定,计算,估计动态离散选择模型.zip
net sip原代码,用于中级用户检测register注册,抓包学习.zip
如题所示,本文是我在学习 actuar 包过程中的学习笔记,主要涉及这个包中一些函数的使用方法和细节,对一些方法的结论也有稍许探讨,因此能简略的地方简略,而讨论的地方可能讲的会比较详细。闲话少提,下面正式开始...
java基础学习笔记、各种文档、示例代码等
dplyr实例使用案例,主要用于清洗数据,整理数据使用。是不可多得的改进包