sqlldr 装载换行符(使用str属性)
sqlldr 装载换行符(使用str属性)windows可以使用:SQL> select utl_raw.cast_to_raw('|' ||chr(13) || chr(10)) from dual;UTL_RAW.CAST_TO_RAW('|' || CHR(13)||CHR(10))----------------------------------------...
oracle 查权sql
set linesize 200select grantee, privilege from dba_sys_privs where grantee='&&1';select grantee, granted_role from dba_role_privs where grantee='&&1';select username, default_tablespace, temporary_tab...
oracle 表空间使用百分比的sql
sql代码:set linesize 200with a as ( select tablespace_name, sum(bytes)/1024/1024 total from dba_data_files group by tablespace_name), b as ( select tablespac...
crontab试验
30 21 * * * /home/chi/crontab/output_time_1.sh >>/home/chi/crontab/result_1.txt45 4 1,10,22 * * /home/chi/crontab/output_time_2.sh >>/...
纠正Linux crontab 命令格式与详细例子的引用
原始引用自:http://blog.csdn.net/ethanzhao/article/details/4406017评注是自己写的。基本格式 (5个位置):* * * * * command 分 时 日 月 周 命令 第1列表示分...
infile * 不能和str属性连用
[oracle@yitai ~]$ sqlplus scott/oracleSQL*Plus: Release 10.2.0.4.0 - Production on Tue Oct 30 14:19:09 2012Copyright (c) 1982, 2007, Oracle. All Rights Reserved.Connected to:Oracle Database 10g ...
aix/sun系统是多少位的查看方法
aix/sun系统是多少位的查看方法 AIX:显示AIX系统内核是32位还是64位:bootinfo -K显示机器硬件是32位还是64位:bootinfo -ySUN:$isainfo -bv64表示内核是64位的,32表示内核是32位的HPUX:>getconf KERNEL_B...
Oracle中导出修复数据块损坏
Oracle中导出修复数据块损坏(2007-07-14 07:44:02) 转载▼<SCRIPT.var $tag='';var $tag_code='c3b2b1d9b582a9e7a921796459c24a01';var $r_quote_bligid='490c51ec010009z1';var $world...
rman 删除所有过期归档
1、SQL> select name from v$archived_log;NAME--------------------------------------------------------------------------------/arch1/arch_1_5_766706446.log/arch1/arch_1_6_766706446.log/arch1/arch_1_7_76...
查看角色里包含的系统权限、对象权限和角色
ORA-0131:debugging requires the debug connect session system privilege上一篇 / 下一篇 2010-09-30 15:44:10 / 个人分类:oracle 查看( 3753 ) / 评论( 2 ) / 评分( 8 / 0 ) &...
删除归档,保留最近的5个归档日志
. /home/oracle/.bash_profileexport ORACLE_SID=compiere # echo $STATUS LOG_SEQUENCE=`sqlplus -s sys/H2oiswater as sysdba <<! &n...
shell expect的简单用法
引用自:http://blog.csdn.net/zhuying_linux/article/details/7091551使用expect实现自动登录的脚本,网上有很多,可是都没有一个明白的说明,初学者一般都是照抄、收藏。可是为什么要这么写却不知其然。本文用...
expect学习笔记及实例详解
expect学习笔记及实例详解引用自:http://wenku.baidu.com/view/b65e103610661ed9ad51f374.html1. expect 是基于tcl 演变而来的,所以很多语法和tcl 类似,基本的语法如下...
scp远程拷贝,不用输入密码的方法
在写bash时遇到一个问题,从远程scp文件到本地,需要输入密码,如何自动实现该过程?#!/bin/bash#file_name: expect_1.shsrc_host=192.168.1.103src_pwd=tom@ethersrc_path=/home/chi/server2.csrc_user=chi...
LINUX EXPECT的安装
Normal 0 7.8 磅 0 2 false false false MicrosoftInternetExplorer4 <style.st1\:*{behavior.:url(#ieooui) }</styl...
python 安装
python下载网址:http://www.python.org/getit/ 1.下载源代码 http://www.python.org/ftp/python/2.5.2/Python-2.5.2.tar.bz2 2. 安装 $ tar –jxvf Python-2.5.2.tar.bz2 $ cd Python-2.5....
Color Bash Prompt
https://wiki.archlinux.org/index.php/Color_Bash_Prompt
AIX 挂载及卸载光驱、弹出光驱
1 找出光驱的IDlsdev | grep cd2 挂载光驱mount -rv cdrfs /dev/cd0 /cdrom3 卸载光驱unmount /cdrom4 如果正在使用,可以杀掉进程fuser -k /cdrom/5 弹出光驱#lssrc -s cdromd //查看cdromd服务#s...
PMON failed to acquire latch, see PMON dump
引用:http://blog.chinaunix.net/space.php?uid=8116903&do=blog&id=334751PMON failed to acquire latch, see PMON dump To implement the solution, execute the following steps::1. In $ORACLE_HO...
各版本Oracle在线文档地址
引用自:http://xiaolong0211.iteye.com/blog/1337365http://tahiti.oracle.com/Oracle在线文档地址 Oracle9i relaes 1:http://www.oracle.com/pls/db901/db901.docindex?remark=homepage 10g rele...