create or replace function fun_check_ftmobile
(
pTMobile varchar2
)
/* ===========================================
Users: Qiang.cai
Timer: 2009-12-14 23:03:00
Functio: 验证子卡是否存在 Y已存在 N不存在
=========================================== */
return varchar2 is
pCount int := 0;
pResult varchar2(2) := '';
begin
select count(*) into pCount from x_terminal where ftmobile = pTMobile;
if pCount > 0 then
pResult := 'Y';
else
pResult := 'N';
end if;
return(pResult);
exception
when others then
raise_application_error(sqlcode,'fun_check_ftmobile;info:'||sqlerrm||';pTMobile='||pTMobile);
end fun_check_ftmobile;
分享到:
相关推荐
打开控制台发现报错:object is not a function。 感觉很奇怪,这块的功能最新没动过怎么会突然出问题了呢?上线时主流浏览器都测试过了呀。 虽然奇怪,但是还的解决问题。看着代码发现一个radio对象的name属性和一...
function RadioCheck() { var Radio=document .getElementsByName ("rdoSelect"); for (var j=0;j;j++) { if (Radio[j].checked) { document .getElementById ("USRNUM").value=Radio [j].value; } } }...
主要介绍了Sqlserver 自定义函数 Function使用介绍,在sqlserver2008中有3中自定义函数:标量函数/内联表值函数/多语句表值函数,需要的朋友可以参考下
S-Function 可以使用MATLAB®,C,C ,Ada,或Fortran 语言来编写。使用MEX 实用工具,将C,C ,Ada,和Fortran 语言的S-Function 编译成MEX-文件,在需要的时候,它们可与其它的MEX-文件一起动态地连接到MATLAB 中...
ASP研发中有用的函数(function)集合(1) ’************************************* ’防止外部提交 ’************************************* function ChkPost() dim server_v1,server_v2 chkpost=false ...
The Function Point Counting Practices Manual is the definitive description of the Function Pointing Counting Standard. Several versions of the manual are available, each describing the standard or ...
S-Function可以使用MATLAB®,C,C++,Ada,或 Fortran语言来编写。使用 MEX实用工具, 将 C,C++,Ada,和 Fortran 语言的 S-Function 编译成 MEX-文件,在需要的时候,它们可与其它的 MEX-文件一起动态地连接到...
This brief monograph on the gamma function was designed by the author to fill what he perceived as a gap in the literature of mathematics, which often treated the gamma function in a manner he ...
编写的蹦极系统的S-function案例详解,可以参考博客:https://blog.csdn.net/didi_ya/article/details/118190541
s-function函数,s-function函数定义放置错误,matlab源码
(* General Purpose Hash Function Algorithms Library *) (* *) (* Author: Arash Partow - 2002 *) (* URL: http://www.partow.net *) (* URL: ...
使用MATLAB中的s-function builder集成外部代码,定义s-function参数
繁體Delphi Function 繁體Delphi Function 繁體Delphi Function 繁體Delphi Function
增加VC6.0的__FUNCTION__宏,并有测试工程
文档描述了在Simulink中用C语言实现S-Function进行仿真的原理及三种方法。这可以带来很多方便,比如已经有C语言实现的算法,可以直接引入进行仿真。
matlab子函数function用法示例
使用S-Function函数实现离散PID控制器,并建立simulink仿真模型。 使用S-Function函数实现离散PID控制器,并建立simulink仿真模型。
oracle_function用法
Function Point Counting Practices Manual (功能点计算实践手册)4.3版