9i 很少了解新特点(28页).ppt

  1. 1、本文档共28页,可阅读全部内容。
  2. 2、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
  3. 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载
  4. 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
9i 很少了解新特点(28页)

My Favorite Little Known Features of Oracle9i Matt Adams What you will NOT Hear about Today * Multiple Block Sizes Automatic Undo External Tables DataGuard LogMiner Resumable Space Management List Based Partitioning Oracle Managed Files Test! Test! Test! SQL create table T ( x, y, z) 2 as select 1,2,3 from dual; SQL create index T_IX on T (x,y); SQL alter table T add constraint C primary key (x,y); SQL alter index T_IX rebuild compress 1; SQL insert into t values (1,2,3); ERROR at line 1: ORA-08102: index key not found, obj# 69517, dba ? “Fixed” Export exp tablespace=(user_data1, user_data2) exports all tables at least partially in a tablespace, and all associated indexes New features of sqlplus only one chance to log in sqlplus -l scott/tiger New features of sqlplus New environmental substitution variable is set to the SID. Set sqlprompt ‘_I CAN’T REMEMBER’ (go back and run ‘define’ inside of sqlplus and you’ll see it) WITH clause for complex subqueries SQL WITH dept_salaries AS ( 2 SELECT dname, SUM(sal) dept_sal 3 FROM emp e, dept d 4 WHERE e.deptno = d.deptno 5 GROUP BY dname), 6 avg_sal AS ( SELECT AVG(dept_sal) asal 7 FROM dept_salaries) 8 9 SELECT * FROM dept_salaries d, avg_sal a 10 WHERE d.dept_sal a.asal 11 ORDER BY d.dname; Row Locking - then SQL select delivery_date from invoice 2 where invoice = 11236 3 for update of delivery date; If the row is locked this waits forever. SQL select delivery_date from invoice 2 where invoice = 11236 3 for update of delivery date NOWAIT; If row is locked, this returns an error. Locking -now SQL select delivery_date from invoice 2 where invoice = 11236 3 for update of delivery date wait 10; If the row is locked, this waits for 10 seconds, then returns error. ERROR at line 1: 30006: resource busy; acquire with WAIT timeout expired Object Level Grants (HOW LONG HAVE WE WAITED FOR THIS ONE, FOLKS!!!) THEN - SQL connect system/password connected SQL create table FRE

文档评论(0)

xcs88858 + 关注
实名认证
内容提供者

该用户很懒,什么也没介绍

版权声明书
用户编号:8130065136000003

1亿VIP精品文档

相关文档