日期:2014-05-16 浏览次数:20487 次
1、输入sqlplus 出现如下,所示然后输入用户名和密码就可以了。 C:\Users\xm>sqlplus SQL*Plus: Release 11.1.0.6.0 - Production on Thu Nov 8 22:12:29 2012 Copyright (c) 1982, 2007, Oracle. All rights reserved. Enter user-name: dbxmftp Enter password:
2、sqlplus username 然后直接输入密码就可以了。 C:\Users\xm>sqlplus SQL*Plus: Release 11.1.0.6.0 - Production on Thu Nov 8 22:12:29 2012 Copyright (c) 1982, 2007, Oracle. All rights reserved. Enter user-name: dbxmftp Enter password:
3、sqlplus username/password C:\Users\xm>sqlplus SQL*Plus: Release 11.1.0.6.0 - Production on Thu Nov 8 22:12:29 2012 Copyright (c) 1982, 2007, Oracle. All rights reserved. Enter user-name: dbxmftp Enter password: ...... SQL>
--创建表空间 create tablespace dbxmftp logging datafile 'D:\oracle\product\10.2.0\oradata\tansun\DBXM.DBF' size 32m autoextend on next 32m maxsize 1024m extent management local; --创建用户并指定表空间 create user dbxmftp identified by dbxmftp default tablespace dbxmftp temporary tablespace temp; --给用户授予权限 grant connect,resource,dba to dbxmftp; 删除用户: drop tablespace_name username ;