id name kecheng fenshu
1 张三 语文 89
1 张三 数学 90
1 张三 英语 99
2 王五 语文 80
2 王五 数学 99
2 王五 英语 88
怎么转变
id name 语文 数学 英语
1 张三 89 90 99
2 王五 80 99 88
除了
select distinct t.id,t.name,
(select distinct t1.fenshu from emp3 t1 where t1.i ......
SQL code:
create or replace procedure tally_log_oper(updatetimes out number,inserttimes out number,deletetimes out number)
is
--建议在声明变量的时候应初始化变量
v_na number:=0;
v_nb number:=0;
v_nc number:=0;
begin
select count(*) into v_na from log_file where operater='insert';
select c ......
现在的情况是oracle数据库里有一个表A,里面有一个字段[status],默认值为0,当statu的值变为1时,想在web应用程序的显示页面上给出提示对话框,请问怎么才能实现啊?最好写的详细些,我是新手,谢谢了。
你想通过数据库主动推送?
在WEB页面轮询此状态就行了。
能说的详细些吗?谢谢
就是在你的WEB程序中,用一个定 ......
一共两列
id time
1 201009
2 201009
3 201009
1 201009
1 201009
2 201009
4 201009
求,,某一时间点击量最大的id号?(oracle)
select time,max(id) from tablename
group by time
SQL code:
select id,time,max(id) keep(dense_rank last order by count(*)) 最大id
from tb
where ......
create table user_b.abcd
( a number constraint abc_pk primary key
using index
(create index abc_index on user_b.abcd(a) tablespace users),
b number
);
------------------
SQL> @h:\code\6.sql
(create index abc_index on user_b.abcd(a) tablespace users),
......
环境:linux 企业版 oracle 10g
刚我删除了个数据文件,startup 提示少一个数据文件,
但是查看报警日志没反应,还是我刚装ORACLE时的日志内容,
但时间是最近一次startup的时间,
求解!!!!
确认一下告警日志文件的路径是否正确
show parameter background_dump_dest
路径没什么问题,现在又一个问题来了!
......