关于dict与v$fixed_table

dict 里的条数与fixed_table不一样,网上也有说明,在这总结一下

DICT is a synonym for DICTIONARY
DICTIONARY contains descriptions of data dictionary tables and views.

V$FIXED_TABLE This view displays all dynamic performance tables, views, and derived tables in the database. Some V$ tables (for example, V$ROLLNAME) refer to real tables and are therefore not listed.
.

OS Authentication,ORACLE系统认证

[zhang@orazhang ~]$ sqlplus /

SQL*Plus: Release 10.2.0.1.0 – Production on Fri Apr 1 12:03:22 2011

Copyright (c) 1982, 2005, Oracle. All rights reserved.

Connected to:
Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 – Production
With the Partitioning, OLAP and Data Mining options

SQL> show user
USER is “OPS$ZHANG”

oracle随linux OS自动启动与关闭

在linux 上装的oracle ,每次开机都要手动启动oracle服务,想做到自动,改了好些天,可能是做的虚拟ASM原因一直服务启动出错,先不说ASM,let oracle instance automatic startup and close

环境:rhel 5 linux +oracle 10g

oracle create read only view创建只读视图

建立只读简单视图 SQL> create table test(id int,name varchar(20)); Table created. SQL> insert into test(1,’anbob.com’); insert into test(1,’anbob.com’) * ERROR at line 1: ORA-00928: missing SELECT keyword SQL> insert into test values(1,’anbob.com’); 1 row created. SQL> insert into test values(2,’weejar.com’); 1 row created. SQL> commit; Commit complete. SQL> select * from test; ID NAME ———- —————————————- 1 … Read more

nls_lang、nls_language、nls_characterset的区别

oracle 数据库对字符的处理及表现形式分为三个层面,优先级先后分别是数据库初始化参数字符集、os操作系统环境变量级、session级
先说什么是字符集?字符集就是按照一定的字符编码方案,对一组特定的符号,分别赋予不同数值编码的集合…

执行procedure 动态传入参数

关键字: 存储过程调用存储过程 游标 cursor 绑定变量 动态传入参数

以前自己写过一个参数过程,不过是只处理单条数据,今天遇到要批量数据要处理,懒 有时也是一种优点,懒就会想法减少工作量,所以把数据导入数据表中,再批量调用,平时很少用游标遇到点问题,还好网友帮忙,在此分享。

————————

DECLARE
….