菜鸟请教,一个取字符串长度的函数~ lengthlengthblengthclength4length2 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 存贮过程不返回值,应使用存贮函数。用系统函数length(字符串)返回字符串的长度。create or replace funtion test(name in varchar2)retrun number is name_length number;beginname_length=length(name);end test; 存储过程一样可以返回值,使用out参数即可。而且可以有多个out参数。 PRKH-1010 : Unable to communicate with CRS services. ODAC win7 64位 上海有oracle/DBA的需求 to_date数据类型转换错了吗? 求救:导入含有clob数据的表时候出错 请教一SQL语句 请教哪本讲oracle9i的DBA的书是最好的? 2个重要问题 我如何才能写类似count(*)一样得只返回一条记录得函数呢? 多表查询怎么写sql比较好? 怎样在oracle中,检测写的存储过程是否正确? 急需解决——高手请进!
用系统函数length(字符串)返回字符串的长度。
create or replace funtion test(name in varchar2)
retrun number is
name_length number;
begin
name_length=length(name);
end test;
而且可以有多个out参数。