现在的位置: 首页 > 综合 > 正文

oracle相关资料

2013年08月11日 ⁄ 综合 ⁄ 共 1291字 ⁄ 字号 评论关闭

oracle中,相当于 isnull内置函数的函数是 nvl

oracle 自带的 SqlPlus 使用不习惯,光标不能向左。

oracle 的界面管理软件一般用 PL / SQL,在PL/Sql中,如果是增,删,改,都需要提交(commit)。

执行sql语句的快捷键是 F8

select sysdate from dual  -- 2012/3/6 16:45:29
select to_char(sysdate,'yyyy-mm-dd') from dual -- 2012-03-06
select  to_char(to_date('2012/08/09','yyyy-MM-dd'),'yyyy-MM-dd') from dual  --2012-08-09

------------------------------------------------------------------------------------------------------------------------------------

declare v_num varchar2(20);
begin
    v_num:='324aad';
    dbms_output.put_line(v_num);    -- 324aad
end;

 

-- 结果是 222

begin
  if(2>4) then
      dbms_output.put_line('111');
  else
    dbms_output.put_line('222');
  end if;
end ;

------------------------------------------------------------------------------------------------------------------------------------

Oracle_SQL  http://wenku.baidu.com/view/04b41c7d31b765ce050814ac.html

oracle常用sql语句    http://www.jb51.net/article/7827.htm

oracle中nvl()函数  http://apps.hi.baidu.com/share/detail/24242487

declare 在Oracle中声明变量 这么使用变量 

http://zhidao.baidu.com/question/147482236.html

Oracle 

http://wenku.baidu.com/view/5a9b8f3e0912a21615792905.html

oracle设置环境变量脚本  http://www.examw.com/oracle/zhonghe/107409/

用C# 来操作ORACLE 数据库   http://apps.hi.baidu.com/share/detail/37702273

Oracle  

http://wenku.baidu.com/view/136276ec4afe04a1b071de2a.html

抱歉!评论已关闭.