ORACLE ORA
对于x$的情况
SQL> grant select on sys.x$bh to t1;
grant select on sys.x$bh to t1
ERROR at line 1:
ORA-02030: can only select from fixed tables/views
对于fixed tables/views只能select
如果想把x$bh的select权限grant给其他用户怎么办呢,可以变通一下
SQL> create view xbh as select * from sys.x$bh;
View created.
SQL> grant select on xbh to t1;
Grant succeeded.
这个普通用户t1就有了select到 sys.x$bh权限了
对于v$的情况
SQL> grant select on v$session to t1;
grant select on v$session to bss
*
ERROR at line 1:
ORA-02030: can only select from fixed tables/views
SQL> grant select on v_$session to t1;
Grant succeeded.
相关文档:
oracle表空间操作详解
1
2
3作者: 来源: 更新日期:2006-01-04
5
6
7建立表空间
8
9CREATE TABLESPACE data01
10DATAFILE '/ora ......
SQL中的单记录函数
1.ASCII
返回与指定的字符对应的十进制数;
SQL> select ascii(A) A,ascii(a) a,ascii(0) zero,ascii( ) space from dual;
A A ZERO SPACE
--------- --------- --------- ---------
65 97 48 32
2.CHR
给出整数,返回对应的字符;
SQL> select chr(54740) zhao,chr(65) chr65 from d ......
数据库中经常用0,1 来标识某字段,作为开发人员可能知道它的意义,但我们让它显示在Grid列表上必须显示它的实际含义,一般我们可以在代码中读数据源时可以作处理,同时ORACLE中用decode也是不错方法。
decode(条件,值1,翻译值1,值2,翻译值2,...值n,翻译值n,缺省值)
该函数的含义如下:
......
Applies to:
Oracle Server - Enterprise Edition - Version: 10.1.0.5.0
This problem can occur on any platform.
Symptoms:
The issue is that the following error was raised :
ORA-00600: internal error code, arguments: [kesutlGetBindValue-2], [], [], [], [], [], [], []
The recent changes ......
Microsoft Windows XP [版本 5.1.2600]
(C) 版权所有 1985-2001 Microsoft Corp.
C:\Documents and Settings\Admin>sqlplus "/ as sysdba"
SQL*Plus: Release 10.2.0.1.0 - Production on Fri Nov 20 19:31:44 2009
Copyright (c) 1982, 2005, Oracle. All rights reserved.
Connected to:
Oracle Database 10g E ......