![](https://img-blog.csdnimg.cn/20201014180756919.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
oracle
crystalnsd
坚持不懈,厚积薄发
展开
-
精通pl/sql编程
declare cursor c_emp is select name,sal from emp;begin for v_emp in c_emp loop dbms_output.put_line( v_emp.name||' '||v_emp.sal); end loop;end;/原创 2014-11-13 08:01:04 · 507 阅读 · 0 评论 -
em的配置与使用
em的配置 1 保证数据库处于open export ORACLE_SID=orcl sqlplus / as sysdba SQL> select status from v$instance; STATUS ------------ OPEN 如果不是:startup force 重启 2 保证侦听启动,服务名字注册 切换到grid 用户 -原创 2014-11-03 16:39:16 · 571 阅读 · 0 评论 -
讨论oracle 11g 会话 连接 与服务进程之间的关系
会话与连接在oracle 中的示例图: 会话是 一个用户从登录到退出的过程 , 连接是指是的客户端到连接服务器的过程, 一个连接可以有0个会话,1个会话,或多个会话当用户打开sqlplus工具进会产生用户进程可以用ps -elf |grep sqlplus |grep -v grep查看用户进程向原创 2014-11-03 04:51:47 · 1471 阅读 · 0 评论 -
精通plsql2
存储过程,函数,触发器都可以存储在Oracle中。1.存储过程create or replace procedure xxx(变量名 类型...)is --声明定义begin --主处理exception --异常处理end;/ ================create or replace procedure hello_pro原创 2014-11-25 11:32:24 · 573 阅读 · 0 评论