drop user cascade_快速回收表空间大小
SQL> select file_name,tablespace_name,bytes/1024/1024 mb from dba_data_files where tablespace_name='ZXY';#查看表空间对应数据文件的分配大小(并非实际使用的大小)FILE_NAME--------------------------------...
如何在rhel5上安装tar.gz源码文件
[root@localhost rlwrap-0.37]# tar -zxvf *tar.gz[root@localhost rlwrap-0.37]# ./configure [root@localhost rlwrap-0.37]# make[root@localhost rlwrap-0.37]# make install[root@localhost rlwrap-0.37]# make ...
rhel5_oracle10g_10.2.0.4_字符集character set_nls_valid_value
#查看当前数据库的字符集 select * from v$nls_parameters where parameter like 'NLS_CHAR%%'PARAMETER VALUE---------- ----------NLS_CHARAC WE8ISO8859TERSET P1&...
linux自动automatic启动停止多个oracle实例
http://blog.sina.com.cn/s/blog_4a80a5730100g6wz.html
dbms_lob_open_filecloseall_loadclobfromfile(一)
SQL> DECLARE 2 V_LOB CLOB; 3 V_FILE BFILE := BFILENAME('DIR_TNS', 'tnsnames.ora'); 4 V_SOURCE NUMBER := 1; 5 V_DEST NUMBER := 1; 6 V_LANG NU...
rhel5_script自动记录操作命令历史序列
-bash-3.2$ script. mylove.txt #开启记录功能,把所有的输入的命令存储在mylove.txtScript. started, file is mylove.txtbash-3.2$ command1bash: command1: command not foundbash-3.2$ command2bash: comman...
隐式游标(implicit cursor)_sql%found_rowcount小操作
#sql%found用于dml(delete,update,insert)及select into是否真正的操作了表SQL> desc dept; Name &nb...
mysql5.1官方文档连接_字符集详解
http://dev.mysql.com/doc/refman/5.1/zh/charset.html 太复杂了!
mysql5.5的一些函数_user()_current_user()
mysql> SELECT USER();+----------------------+| USER() |+----------------------+| yisile@192.168.2.213 |+------------...
rhel4 mysql5.5字符集_客户端mysql乱码处理
mysql5.5默认采用的字符集是latin1,通过查看建表的ddl语句,发现表的默认字符集为gbk,最终修改character_set_results为gbk,汉字得以正常显示,乱码哟,好好研究下; mysql> set character_set_r...
mysql5.5列数据类型data type_测试
mysql> create table t1(a tinyint(30),b tinyint(3) zerofill);#建表指定zerofill,默认加上unsigned(正整数)Query OK, 0 rows affected (0.04 sec)mysql> desc t1;+-------+------------------------------+------...
mysql5.5 表列显示宽度的修改_binary(x)
mysql> desc t1;+-------+------------+------+-----+---------+-------+| Field | Type | Null | Key | Default | Extra |+-------+------------+------+-----+---------+----...
mysql5.5的bin数据类型
bin是一种特别的列类型,用于存储两种可能的值(对应的值为1与0) mysql> select a from t1; #直接查,显示为空+------+| a |+------+| || |...
配置jboss5.1(jdk1.6)_启动错误_Error occurred during initialization of VM
通过$JBOSS_HOME/bin/run.sh启动jboss报错[root@capitek1 bin]# ./run.sh========================================================================= JBoss Bootstrap Environment JBOSS_HOME: /usr...
mysql5.1迁移到oracle10.2.0.5步骤
1,下载oracle sql developer2.1,添加mysql jdbc驱动(x.bin.jar) 首选项->数据库->第三方jdbc驱动程序(为了与mysql通讯)2,新建两个mysql与oracle连接3,右击mysql连接,选择捕获方...
oracle sql developer 2.1如何连接oracle
请参考此处: http://space.itpub.net/16582684/viewspace-620498 小结一下:1,不管哪种连接类型,oracle listener监听器必须打开2,oracle sql developer有基本,高级,tns,ldap...
如何让mysql以root用户远程登陆(remote login)mysql数据库
为了迁移mysql到oracle,我采用了oracle的sql developer工具,并下载了mysql jdbc驱动(为了让sql developer连接mysql) &nb...
mysql5.1官方文档网址连接link_web
http://dev.mysql.com/doc/refman/5.1/zh/index.html
rhel4 mysql5.1 索引index_约束constraint创建_删除_查询
索引类型: 普通索引,唯一索引,组合索引,主键索引(这些索引类型可能是并非并行关系),比如组合索引:可以是唯一索引或者普通索引等 普通索引:索引列可以...
导入rhel4 mysql5.5到rhel4 mysql5.1
1,mysql -uroot -p123456 -hcapitek12,create database yisile;3,use yisile;4,source /mysql/data/mysql/export_yisile_table.sql #导入表结构,这里的sql源于mysqldump从源数据库mysql5.5的导出文件5,source /m...