-
a10,9999.9 修改,不是promote ,是格式format查看全部
-
col column_name heading new_column_name; col column_name promote datatype查看全部
-
运算优先级:比较运算符>逻辑运算符(not>and>or)查看全部
-
创建表空间:查看全部
-
对Scott用户解锁:alter user username(此处为Scott)account unlock;锁定用户为把unlock改为lock; 登录Scott用户:connect Scott/tiger(tiger为默认密码)。 show user命令用来查看当前连接用户。查看全部
-
1、oracle用户 系统用户:sys/system sysman scott 登录数据库:connect sys/orcl @192.168.3.110 as sysdba 查看用户登录:show user 数据字典:dba_users 查看表结构:desc dba_users 启用用户的语句 Alter user username account unlock; 2、表空间 数据库与表空间 表空间是数据库的逻辑存储空间 表空间的分类 永久表空间、临时表空间、UNDO表空间 查看用户的表空间 dba_tablespaces、user_tablespaces数据字典 dba_users、user_users数据字典 设置用户的默认或临时表空间 Alter user username default|temporary tablespace tablespace_name 3、创建表空间 Create [temporary] tablespace tablespace_name Tempfile|datafile 'xx.dbf' size xx 查看创建的永久表空间的路径:dba_data_files Eg:select file_name from dba_data_files where tablespace_name = 'ZYY_TABLESPACE'; 查看创建的临时表空间的路径:dba_temp_files查看全部
-
增加数据文件查看全部
-
create tablespace test1_tablespace datafile 'test1file.dbf' size 10m;--------创建表空间 create temporary tablespace temptest1_tablespace temfile 'tempfile1.dbf' size 10m; temporary temporary dba_data_files where tablespace_name='TEST1_TABLESPACE'; dba_temp_files查看全部
-
创建表空间查看全部
-
登录或切换用户,例如:connect system/123查看全部
-
scott没有查看dba_tablespaces的权限,说明它权限比sys和system低 但可以查看user_tablespaces表查看全部
-
启用用户 slter user username account unlock;查看全部
-
-- 启用 scott alter user scott account unlock ; connect scott/tiger -- 展示当前登陆用户 show user -- USER 为 "SCOTT"查看全部
-
alter user username account unlock查看全部
-
在sys,system,sysman,scott四个用户权限中,scott用户最低。查看全部
举报
0/150
提交
取消