oracle
文章平均质量分 62
fxyfdf
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
oracle安装-简介
3.调整linux系统: 关闭防火墙: service iptables stop service ip6tables stop chkconfig iptables off chkconfig ip6tables off管理工具中disabled防火墙 关闭selinux: vi /etc/selinux/config SELINUX=disabled原创 2017-03-02 10:35:27 · 325 阅读 · 0 评论 -
oracle hr样例数据库用户建立
一、解锁hr用户1、sys身份连接数据库 2、解锁:alter user hr account unlock;3、修改密码:alter user hr identified hr;二、导入脚本 直接导入脚本即可,123 不执行1、下载http://wiki.joanillo.org/images/4/48/Hr_main.txt,文件名修改为hr_main.sql或:http://pan.baid转载 2017-03-02 16:33:13 · 1998 阅读 · 0 评论 -
sqlplus 与 shell 结合--shell中执行sql 脚本
su - oracle 使用oracle 用户执行[oracle@dba ~]$ cat a.sh #!/bin/bashTAB=empsqlplus -s scott/tiger << EOF | awk 'NR != 1 && $2 ~ /S.*T/{print $2,$6}'set head offset feed offselect * from $TAB;select * f原创 2017-03-02 19:17:19 · 11648 阅读 · 0 评论 -
oracle -查询结果优化显示
如果屏幕显示的内容串行 是因为默认的显示的行长度是80字节 而选出的内容超出了80字节 可以修正一下 SQL> set linesize 100 如果有多个列标题 是一页内行数默认14行 也可以修正 SQL> set pagesize 1000原创 2017-03-02 17:00:19 · 1719 阅读 · 0 评论 -
oracle的scott用户默认表sql删除后恢复和字段
数据库中没有scott用户,admin目录下也没有scott.sql脚本,只好手工创建一份脚本如下Rem Copyright (c) 1990 by Oracle CorporationRem NAMEREM UTLSAMPL.SQLRem FUNCTIONRem NOTESRem MODIFIEDRem gdudey 06/28/95 -转载 2017-03-02 16:42:30 · 1262 阅读 · 0 评论
分享