Delphi

本类阅读TOP10

·分布式网络考试系统原型分析及实现
·游戏外挂设计技术探讨①
·使用HOOK随心监视Windows
·Delphi 水晶报表打包解决
·试题库开发中非文本数据的处理
·如何将几个DBGRID里的内容导入同一个EXCEL表中....的问题
·如何使用Delphi设计强大的服务器程序
·工人线程中关闭窗体的实现
·用DLL方式封装MDI子窗体。
·支持XP下托盘栏气球提示的托盘单元

分类导航
VC语言Delphi
VB语言ASP
PerlJava
Script数据库
其他语言游戏开发
文件格式网站制作
软件工程.NET开发
ORACLE简单应用

作者:未知 来源:月光软件站 加入时间:2005-2-28 月光软件站

用户创建:     create user <用户名> identified by <密码>

        default tablespace users

        temporary tablespace temp;

 

新用户权限设定:grant connect,resource,unlimited tablespace to <用户名>;

 

用户丢弃:    drop user <用户名> cascade;

 

取消权限:    revoke <权限> from <用户名>;

 

查询用户:    select * from dba_users;

 

查询已创建用户:select username from dba_users;

 

查询空间:    select * from dba_tablespaces;

 

数据导入:    imp <用户名>/<密码> file=文件名.dmp full=y

 

数据导出:    exp <用户名>/<密码> file=文件名.dmp full=y

 

提交:      commit;

 

添加数据库文件:alter tablespace users add datafile '路径\users2.ora' size 500M;

 

        alter tablespace rbs add datafile '路径\rbs2.ora' size 200M;

 

        alter tablespace temp add datafile '路径\tmp2.ora' size 200M;

 

开启表:    alter rollback segment rb* online;

 

关闭表:    alter rollback segment rb* offline;

 

添加回滚段:    alter rollback segment rb* storage (next 2M optimal 10M);

 

创建回滚段:    create public rollback segment rb* storage (next 2M optimal 10M);

 

 

注册表语言:    ZHS16GBK    或者    ZHS16CGB231280

 

启动LISTENER:    lsnrctl status  (看状态)

        lsnrctl start   (启  动)




相关文章

相关软件