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

oracle删除表中所有的数据

示例一:delete from emp;
实例二:truncate table emp;
当使用delete删除时,虽然删除了表中的所有数据,但是没有释放表所占的空间,如果用户确定要删除表中所有数据,使用实例二语句速度更快。delete语句可以回退,但truncate语句操作不能回退,执行的时候要多加注意这一点。


相关文档:

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配置为 ......

Oracle 连接 复习

SQL> select * from ta;
        ID NAME
---------- --------------------
         1 gorey
         2 gorey2
SQL> select * from tb;
        I ......

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 ......
© 2009 ej38.com All Rights Reserved. 关于E健网联系我们 | 站点地图 | 赣ICP备09004571号