自己帮助自己顶一下吧,都说Oracle好用,为什么版本之间的差距这样大
解决方案 »
- index缺点问题??????????/
- 救助在linux下安装oracle 9i到./runInstaller出错
- 关于视图的问题,请进来帮忙
- 删除用户 ora-00600 [16201]
- 批量更新
- 怎样设置oracle的maximum number of processes
- oracle 监听问题,在线急等
- 一个可能不是难题的难题(oracle的安装),哪位能够提供帮助??
- int型在oracle要定义成什么啊(在线等,急)
- 调试一个SQL语句,有什么工具?该看什么书?
- 在安装oracle8i时不是创建了一个数据库吗,这个数据库能不能象以后创建的数据库一样被引用?
- oracle中imp问题请问大虾!
A SQL statement references a packaged PL/SQL function that does not contain a pragma containing the "Write no PackageState" (WNPS).
A SQL statement references a stand-alone PL/SQL function that modifies a package state. A stand-alone PL/SQL function referenced by a SQL statement cannot modify a package state. Action: If the function is a packaged PL/SQL function: recreate the function and include a pragma containing the "Write no Package State" (WNPS).
If the function is a stand-alone PL/SQL function: delete the function from the SQL statement.
create or replace function trim(v_char in varchar2) return varchar2 is
Result varchar2(2000);
begin
Result := rtrim(v_char);
return(Result);
exception
when others then
-- dbms_output.put_line(sqlcode); 这两句一开始是没有注释的,
-- dbms_output.put_line(sqlerrm); 注释之后就正确了。
NULL;
end trim;我用的是8.0.5
如果你理解oracle事务的特性就知道为什么要这样。
不能select 中出现的函数操作数据库(写数据库)(自治事务除外)
oracle的文档也说的很清楚
ltrim(rtrim())