Chinaunix首页 | 论坛 | 博客
  • 博客访问: 175994
  • 博文数量: 47
  • 博客积分: 3053
  • 博客等级: 少校
  • 技术积分: 451
  • 用 户 组: 普通用户
  • 注册时间: 2007-06-01 04:33
个人简介

malware/APT detection, silicon valley, entrepreneur, CTO, start-up operation, team build, Nanjing/Beijing, if you want to do creative things, join the adventure.

文章分类

全部博文(47)

分类: Oracle

2010-08-07 08:13:29

sqlplus  system/manager@172.25.11.252/dlporacle11

sqlplus  scott/tiger@172.25.11.252/dlporacle11

select count(1) from dba_users;

select * from V$INSTANCE

SHOW USER;

select * from all_users;"

ALTER USER SCOTT ACCOUNT UNLOCK;

select count(1) from user_objects where object_type = 'TABLE';
select count(1) from tabs;
select table_name, partitioned from user_tables;

select * from dict;
select TABLE_NAME from ALL_ALL_TABLES;

CREATE USER jkang IDENTIFIED BY mcafee123
DEFAULT TABLESPACE users
TEMPORARY TABLESPACE temp
PROFILE DEFAULT;

GRANT RESOURCE TO jkang;
GRANT CONNECT TO jkang;
ALTER USER jkang DEFAULT ROLE ALL;
GRANT UNLIMITED TABLESPACE TO jkang;

CREATE TABLE "DDM_1000"
(    "SSN" VARCHAR2(11 BYTE),
"FIRST_NAME" VARCHAR2(20 BYTE),
"LAST_NAME" VARCHAR2(20 BYTE)
) SEGMENT CREATION IMMEDIATE
PCTFREE 10 PCTUSED 40 INITRANS 1 MAXTRANS 255 NOCOMPRESS LOGGING
STORAGE(INITIAL 65536 NEXT 1048576 MINEXTENTS 1 MAXEXTENTS 2147483645
PCTINCREASE 0 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT FLASH_CACHE DEFAULT CELL_FLASH_CACHE DEFAULT)
TABLESPACE "USERS" ;
阅读(1214) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~