SQL> create view c as
2 select nvl(a.n1,b.n1),nvl(a.n2,b.n2),n3,n4 from a full join b
3 on a.n1=b.n1 and a.n2=b.n2;
select nvl(a.n1,b.n1),nvl(a.n2,b.n2),n3,n4 from a full join b
*
ERROR at line 2:
ORA-00998: ......
我是个新手 想创建个无参数的 为什么结束不了
create or replace procedure cview
begin
select nvl(a.n1,b.n1) as n1,nvl(a.n2,b.n2) as n2,n3,n4 from a full join b
.n1=b.n1 and a.n2=b.n2;
end;
;
end;
还有能不能告诉我 存储过程是怎么用的 & ......
我登陆OEMC(企业管理控制台)后断开连接,再次登陆时出现用户名检索失败的错误,重新启动OEMC后可以连上,这是什么原因?
\oracle\product\10.2.0\db_1\NETWORK\ADMIN\sqlnet.ora里的这个参数
SQLNET.AUTHENTICATION_SERVICES设置为NO试下
比较少使用OEMC。。。关注下,学习
关注一下!
具体什么错误,贴上来看 ......
需求;连续3个月未申报(GL_WSBXX表,SBBZ申报标志,Y为已申报,N为未申报)。申报时间的列是SBRQ
即要查询GL_WSBXX表中SBRQ连续3个月SBBZ为N的信息。
就是查询连续3个月的数据?
是每月一条记录吗?
一条sql语句可以搞定
求指教,是一个月一条
测试数据贴上来
贴数据不可能的呵呵,SBRQ是date类型
SQL ......
刚接触oracle,有点蒙
以前在做网站的时候,用sql2000,给客户建立一个数据库,data1,之后建立一个用户user1,把data1的权限给user1后,就可以了的
结构是:数据库(date1)
表 tab1
字 ......
open_cursors的值设置是不是越大越好,如果设置大的话,对什么有影响?
It is important to set the value of OPEN_CURSORS high enough to prevent your application from running out of open cursors. The number will vary from one application to another. Assuming that a session does not open the number o ......