logo
publist
写文章

简介

该用户还未填写简介

擅长的技术栈

可提供的服务

暂无可提供的服务

oracle之truncate table 的drop storage和reuse storage

首先创建两个测试表test,test1两个表数据放在data_tablespace,索引放在index_tablespace表空间下(测试证明和表空间没有关系)如果使用下面两个语句删除两个表中的数据truncate table test drop storage;truncate table test1 reuse storage;得到的结果将会是: test表中的data

linux下 eth0变成eth1的原因

我发现这种情况一般是在用虚拟机配置集群时容易发生发生的原因:为什么eth0会变成eth1?很多Linux distribution使用udev动态管理设备文件,并根据设备的信息对其进行持久化命名。udev会在系统引导的过程中识别网卡,将mac地址和网卡名称对应起来记录在udev的规则脚本中。而对于新的虚拟机,VMware会自动为虚拟机的网卡生成MAC地址,当你克隆或者重装虚拟机软件时,

oracle 中游标和存储过程的使用

创建一个表create table test4 (id int,name varchar2(20),cnum number);在sqlplus下写一个游标的使用declarecursor curr is select cnum from test4 where cnumcur curr%rowtype;beginopen curr;LOOPfetch curr

到底了