内存数据库

http://blog.youkuaiyun.com/kkdelta/article/details/7217761


dblink创建
http://blog.youkuaiyun.com/ruixj/article/details/3604325


创建和使用:
http://www.blogjava.net/fastzch/archive/2009/02/17/255175.html


删除job
查询:select * from dba_jobs;
删除: begin dbms_job.remove(jobno); end; commit;
jobno 为 job查询列表中的编号,删除后必须提交事务才能彻底删除。


Oracle存储过程

create or replace procedure p_get_users
is
id1 integer;
name1 varchar(20);
sex1 varchar(20);
count1 integer;

begin
select id,name,sex into id1,name1,sex1
from srpingtest;
dbms_output.put_line('编号'||id1||'修改后');
begin
select max(count) into count1 from spring_log;
exception
when others then
count1:=0;
end;
if count1 is null
then
count1:=1;
end if;
count1:=count1+1;
insert into spring_log values (sysdate,count1);
commit;
end p_get_users;


Oracle游标
create or replace procedure p_get_users2
is
id1 integer;
name1 varchar(20);
sex1 varchar(20);
cursor rc1 is select id,name,sex from srpingtest;
begin
open rc1;
loop
fetch rc1
into id1,name1,sex1;
exit when rc1%NOTFOUND;
dbms_output.put_line('编号'||id1);

end loop;

close rc1;
/* select id,name,sex into id1,name1,sex1
from srpingtest;*/


end p_get_users2;


oracle配置多个实例
http://blog.youkuaiyun.com/luiseradl/article/details/6972217


oracle查看连接
C:\oracle\product\10.2.0\client_1\NETWORK\ADMIN
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值