Home  >  Article  >  Database  >  Oracle常见DBA操作

Oracle常见DBA操作

WBOY
WBOYOriginal
2016-06-07 17:18:151136browse

Oracle常见DBA操作 修改语言环境 将中文环境修改为英文环境 alter session set als_language = ‘AMERICAN’; 将英文环境修改为中

Linux公社

首页 → 数据库技术

背景:

阅读新闻

Oracle常见DBA操作

[日期:2012-08-09] 来源:Linux社区  作者:javahuangfang [字体:]

Oracle常见DBA操作

修改语言环境

将中文环境修改为英文环境

alter session set als_language = ‘AMERICAN’;

将英文环境修改为中文环境

alter session set nls_language = ‘SIMPLIFIED CHINESE’;

查询该用户拥有哪些表

select table_name from user_tables;

查询oracle下数据字典表名称及用途

select * from dictionary;

查询oracle下有多少张视图

select index_name from user_views;

查询该用户拥有哪些数据库对象,,包括约束等

select object_name from user_objects;

dictionary的操作

desc user_tables;

select table_name from user_tables;

select index_name from user_indexes;

select view_name from user_views;

select * from dictionary;

备份和恢复

exp

imp

创建新用户

create user  haungfang identified by  huangfang  default tablespace users quota 10M on users

grant connect, resource, create view, create trigger to huangfang

drop user liuchao cascade;

linux

  • 0
  • Oracle实现分页

    MySQL内部临时表策略

    相关资讯       Oracle基础 

    图片资讯      

    本文评论   查看全部评论 (0)

    评论声明

    最新资讯

    本周热门

    Linux公社简介 - 广告服务 - 网站地图 - 帮助信息 - 联系我们
    本站(LinuxIDC)所刊载文章不代表同意其说法或描述,仅为提供更多信息,也不构成任何建议。


    Copyright © 2006-2011 Linux公社 All rights reserved 浙ICP备06018118号

    Statement:
    The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn