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

linux下创建oracle用户表空间

 就是在已有的数据库实例上创建一个新的帐号,访问一些新的表
 操作步骤如下:
 1、登录linux,以oracle用户登录(如果是root用户登录的,登录后用 su - oracle命令切换成oracle用户)
 2、以sysdba方式来打开sqlplus,命令如下: sqlplus "/as sysdba"
 3、查看我们常规将用户表空间放置位置:执行如下sql:
select name from v$datafile;
 上边的sql一般就将你的用户表空间文件位置查出来了。
 4、创建用户表空间:
CREATE TABLESPACE NOTIFYDB DATAFILE '/oracle/oradata/test/notifydb.dbf' SIZE 200M AUTOEXTEND ON EXTENT MANAGEMENT LOCAL SEGMENT SPACE MANAGEMENT AUTO;
5、创建用户,指定密码和上边创建的用户表空间
CREATE USER hc_notify IDENTIFIED BY hc_password DEFAULT TABLESPACE NOTIFYDB;
6、赋予权限
grant connect,resource to hc_notify;
grant unlimited tablespace to hc_notify;
grant create database link to hc_notify;
grant select any sequence,create materialized view to hc_notify;
经过以上操作,我们就可以使用hc_notify/hc_password登录指定的实例,创建我们自己的表了
 


相关文档:

Linux命令:modinfo显示kernel模块信息

modinfo(module infomation)
功能说明:显示kernel模块的信息。
语  法:modinfo [-adhpV][模块文件]
补充说明:modinfo会显示kernel模块的对象文件,以显示该模块的相关信息。
参  数:
  -a或--author  显示模块开发人员。 
  -d或--description  显示模块的说明。& ......

在CentOS 5 或Red Hat Enterprise Linux安装语言包


Q. How do I install Languages in Linux after installation? I don’t have any language specific support installed but need to install the same. I’m using both RHEL 5 and CentOS 5.
A. Yellow dog Updater, Modified, a package manager for RPM-compatible Linux systems such as Cento ......

redhat linux 5下oracle10.2安装总结

在linux下安装oracle是件繁琐的事情。具体来讲分为一下几大步:
1.修改系统版本
vi /etc/redhat-release
注释掉第一行,添加一行:redhat-4
2.安装软件包
rpm -Uvh setarch-2*
rpm -Uvh make-3*
rpm -Uvh glibc-2*
rpm -Uvh libaio-0*
rpm -Uvh compat-libstdc++-33-3*
rpm -Uvh compat-gcc-34-3*
rpm -Uvh comp ......

linux中出错处理

linux中,在支持多线程的环境中,通常每个线程都有属于自己的errno变量,是用来表示特定错误的常量。
以下是<errno.h>中定义的所有出错errno常量
#define EPERM            1      /* Operation not permitted */
#define ENOEN ......
© 2009 ej38.com All Rights Reserved. 关于E健网联系我们 | 站点地图 | 赣ICP备09004571号