易截截图软件、单文件、免安装、纯绿色、仅160KB

Oracle 游标 Cursor 使用

create or replace procedure getok
as
cursor mycur is select ids,name from aaa where name not in (select names from ok);
vempno aaa.ids%type;
vename aaa.name%type;
begin
open mycur;
loop
fetch mycur into vempno,vename;
exit when mycur%notfound;
if mycur%found then
    insert into ok values(vempno,vename);
end if;
end loop;
dbms_output.put_line('I Found You!'||mycur%rowcount||'行');
close mycur;
end getok;
本文来自CSDN博客,转载请标明出处:http://blog.csdn.net/lixianzhang0493/archive/2009/12/31/5109682.aspx


相关文档:

Oracle Drop命令

--删除空的表空间,但是不包含物理文件
drop tablespace tablespace_name;
--删除非空表空间,但是不包含物理文件
drop tablespace tablespace_name including contents;
--删除空表空间,包含物理文件
drop tablespace tablespace_name including datafiles;
--删除非空表空间,包含物理文件
drop tablespace table ......

Oracle Transparent Geteways To MSSQL


oracle通过透明网关(Oracle Transparent Geteways),访问ms sql server和其他数据库
环境:
    1、在安装有oracle服务器端,ms sql server的客户端,通过oracle的透明网关访问ms sql server数据库
    2、在ms sql ser ......

在Oracle数据库实现自动断开后再连接

在实际的数据库应用中,我们经常遇到这样一个问题,连接到Oracle数据库的用户在作了一次操作后,再也没有后续操作,但却长时间没有和数据库断开连接。对于一个小型的应用系统来讲,本身的连接数目就有限,这好像没有什么严重的后果,但如果对于一个大型的数据库应用。如税务、工商等,如果数据库的连接数目很多,对于数据库 ......

win 7下安装oracle 10g(详细过程)

基本要求
win 7的版本是旗舰版,oracle 10g(Oracle10g第2版10.2.0.3-10.2.0.410203vistaw2k8x86productiondb)迅雷有下载
(搜索“oracle 10g vista”,760MB)
具体过程
1.配置一个虚拟的IP:在安装ORACLE 10g前系统会检测安装的一些前提条件是否满足,
往往会提示说:将Microsoft LoopBack Adapter配置为 ......
© 2009 ej38.com All Rights Reserved. 关于E健网联系我们 | 站点地图 | 赣ICP备09004571号