随笔分类 -  Oracle

摘要:[代码] 阅读全文
posted @ 2010-12-10 09:29 三月三 阅读(202) 评论(0) 推荐(0)
摘要:代码Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/--selectXMLType('<rootxmlns="http://tempuri.org/name.xsd"><name>三月三</name><gender... 阅读全文
posted @ 2010-07-30 17:09 三月三 阅读(238) 评论(0) 推荐(0)
摘要:from:http://database.jzxue.com/shujukuzonghe/200908/22-2528.html上次《【自然框架】之通用权限:用PowerDesigner重新设计了一下数据库,有ER图和表关系图 》里说了一大堆的表,好多人说太复杂了,做到权限到模块就可以了。这个嘛,我也没有说所有的表都要一起使用呀。用哪些表那是根据情况来定的。也就是客户需求、项目需求和经验来决定了。... 阅读全文
posted @ 2010-04-02 17:27 三月三 阅读(232) 评论(0) 推荐(0)
摘要:自定义函数返回嵌套表类型。[代码]/*======================================================================其他参考 from: ORACLE中非常好用的类型转换函数CAST(转载)======================================================================*/代码... 阅读全文
posted @ 2010-03-03 11:21 三月三 阅读(198) 评论(0) 推荐(0)
摘要:数据库的事务隔离级别 from:http://marasuzifk.blog.51cto.com/245180/59591ANSI/ISO SQL92标准定义了一些数据库操作的隔离级别:l 未提交读(read uncommitted)l 提交读(read committed)l 重复读(repeatable read)l 序列化(serializable) 也就是隔离级别,0,1,2,3。ANSI... 阅读全文
posted @ 2009-11-18 11:53 三月三 阅读(480) 评论(0) 推荐(0)
摘要:from:http://www.itpub.net/showthread.php?threadid=617298/*PL/SQL表---table()函数用法:利用table()函数,我们可以将PL/SQL返回的结果集代替table。simple example:1、table()结合数组:*/create or replace type t_test as object(id integer,r... 阅读全文
posted @ 2009-08-10 16:48 三月三 阅读(555) 评论(0) 推荐(0)
摘要:首先需要定义 2 个类型1. Row 类型[代码]2. Table 类型 [代码]创建函数:[代码]使用样例:[代码][代码]---------------------------------------------------*****************************************方法2:-----------------------------------------... 阅读全文
posted @ 2009-07-23 15:27 三月三 阅读(24793) 评论(0) 推荐(0)