Oracle Developer
Dave
The important thing in life is to have a great aim and the determination to attain it !
展开
-
PowerDesigner 企业架构模型 ( EAM ) 说明
一. 企业架构模型 说明 EnterpriseArchitecture Model(EAM),企业架构模型从业务层、应用层以及技术层的对企业的体系架构进行全方面的描述,包括业务流程、业务功能、系统、人员等单元的结构及行为,以确保各单元能够符合企业的战略发展方向。 EAM 分以下三原创 2011-10-18 11:09:45 · 10349 阅读 · 2 评论 -
PowerDesigner 正向工程 和 逆向工程 说明
一. 正向工程与逆向工程说明在前面几篇里介绍了几个PowerDesigner的常用模型,参考:PowerDesigner 概念数据模型(CDM) 说明http://blog.csdn.net/tianlesoftware/article/details/6871179 Power原创 2011-10-18 14:30:28 · 13202 阅读 · 2 评论 -
PowerDesigner 模型文档 说明
一. 模型文档说明 在前面几篇里介绍了PowerDesigner 的几种模型,如果我们项目里用到的模型较多,亦或者项目牵涉的部门很多,那么在这种情况下,就可以考虑生成一个模型文档,方便沟通。 模型文档作用: (1) 为各个模型生成标准或定制的文档,并输出为RTF或HTML格原创 2011-10-18 15:59:59 · 6286 阅读 · 0 评论 -
PowerDesigner 系列 小结
花了近一个星期的时间,小研究了一些PowerDesigner,现在可以简单的用用,知道PD 是怎么一回事了。 以前和朋友聊起过我从事DBA的经历,是毕业后上来就搞DB了,我和朋友说是运气好,因为正常情况下,应该是工作几年,折腾下开发什么的,然后转DBA,我是走了捷径,但是开发这块原创 2011-10-18 16:28:44 · 8020 阅读 · 5 评论 -
Oracle 表连接方式(内连接/外连接/自连接) 详解
<br /><br />Oracle 表之间的连接分为三种:<br />1. 内连接(自然连接)<br />2. 外连接<br />(1)左外连接 (左边的表不加限制)<br /> (2)右外连接(右边的表不加限制)<br /> (3)全外连接(左右两表都不加限制)<br />3. 自连接(同一张表内的连接)<br /> <br /><br />SQL的标准语法:<br />select table1.column,table2.column<br />from table1 [i原创 2010-08-07 20:59:00 · 44522 阅读 · 9 评论 -
Oracle 存储过程 使用示例
因为工作的需要,最近一直在写存储过程。工作了3年,一直都是做管理,也没有正儿八经的去写过存储过程,这次正好可以好好练习一下。 在这里说一条使用存储过程很重要的理由:存储过程只在创造时进行编译,以后每次执行存储过程都不需再重新编译,而一般SQL语句每执行一次就编译一次,所以使用存储过程可提高数据库执行速度。 Oracle 存储过程定义和优点与函数区别 http://blog.csdn.net/tianlesoftware原创 2011-01-17 16:22:00 · 28245 阅读 · 7 评论 -
Oracle 根据汉字返回对应拼音的 函数
<br /> <br />根据汉字,返回汉字对应的拼音。直接上Function代码。<br /> <br />一. 字典函数:<br />CREATEORREPLACEfunctionf_getSpellcode return t_spellcode Pipelined<br />is<br />Begin<br />PIPE Row(spell_code('a',-20319));<br />PIPE Row(spell_code('ai',-20317));<br />PIPE Row(spell_c原创 2010-12-30 14:40:00 · 5601 阅读 · 0 评论 -
Oracle 分析函数(Analytic Functions) 说明
一. Analytic Functions 说明 分析函数是oracle 8中引入的一个概念,为我们分析数据提供了一种简单高效的处理方式. 官方对分析函数的说明如下: Analytic functions compute an aggregate value based on a group of rows. They differ fromaggregate functions in that原创 2009-11-10 21:40:00 · 8230 阅读 · 3 评论 -
Oracle 存储过程 定义 和 优点 与 函数 区别
定义:存储过程(Stored Procedure )是一组为了完成特定功能的SQL 语句集,经编译后存储在数据库中。用户通过指定存储过程的名字并给出参数(如果该存储过程带有参数)来执行它。存储过程是数据库中的一个重要对象,任何一个设计良好的数据库应用程序都应该用到存储过程。 存储过程是由流控制和SQL 语句书写的过程,这个过程经编译和优化后存储在数据库服务器中,应用程序使用时只要调用即可。在原创 2010-01-27 13:43:00 · 13015 阅读 · 0 评论 -
PowerDesigner 业务处理模型( BPM ) 说明
一. BPM 简介 业务处理模型(Business Process Model:BPM)是从业务人员的角度对业务逻辑和规则进行详细描述的概念模型,并使用流程图表示从一个或多个起点到终点间的处理过程、流程、消息和协作协议。通过BPM可以描述系统的行为和需求,可以使用图形表示原创 2011-10-17 18:25:57 · 24043 阅读 · 8 评论 -
PowerDesigner 面向对象模型(OOM)说明
一. OOM 简介 Object-OrientedModel(OOM) 面向对象模型,一个OOM包含一系列包,类,接口 , 和他们的关系。 这些对象一起形成所有的 ( 或部份) 一个软件系统的逻辑的设计视图的类结构。 一个OOM本质上是软件系统的一个静态的概念模型。 (1原创 2011-10-17 00:00:32 · 19437 阅读 · 9 评论 -
PowerDesigner 物理数据模型(PDM) 说明
一. PDM 介绍 物理数据模型(Physical Data Model)PDM,提供了系统初始设计所需要的基础元素,以及相关元素之间的关系;数据库的物理设计阶段必须在此基础上进行详细的后台设计,包括数据库的存储过程、操作、触发、视图和索引表等; PowerDesign原创 2011-10-14 17:04:47 · 34711 阅读 · 3 评论 -
Oracle DBLink 访问Lob 字段 ORA-22992 解决方法
这篇测试一下通过DBLink 访问含有Blob字段表的方法。 关于DBLINK 和 Lob 的说明,参考如下链接: Oracle DBLinkhttp://blog.csdn.net/tianlesoftware/article/details/4698642 删除Dblink 报错ORA-02024: database link not found 的解决方法http://blog.csdn.n原创 2012-06-19 15:55:24 · 40107 阅读 · 0 评论 -
Oracle 11g 行列互换 pivot 和 unpivot 说明
针对Oracle 11g 之前版本的行列转换,之前整理过一篇文档:Oracle 行列转换 总结http://blog.csdn.net/tianlesoftware/article/details/4704858 在Oracle 11g中,Oracle 又增加了2个查询:pivot 和 unpivot。 pivot:行转列unpivot:列转行 在官网上有一点介绍这两个函数的使用文档:http:原创 2011-12-10 22:04:18 · 50716 阅读 · 1 评论 -
Oracle 用拼接字符串更新表 测试
先看我们的数据:SQL> select count(1) from dave where cust_tel like '0551%'; COUNT(1)---------- 2723 在我们的Dave表里,cust_tel 电话以0551 开头的有2723条记录,现在我们把这些记录换成0556. 我们使用如下方法测试一下:SQL> select * from v$version; B原创 2011-12-10 17:41:44 · 9097 阅读 · 0 评论 -
Oracle 聚合函数(Aggregate Functions)说明
Oracle Aggregate Functions用过很多,官网的说明如下: Aggregate Functionshttp://docs.oracle.com/cd/E11882_01/server.112/e26088/functions003.htm#SQLRF20035 Aggregatefunctions return a single result row based on gro原创 2011-12-09 15:22:26 · 14707 阅读 · 0 评论 -
PowerDesigner PDM 生成SQL脚本 去除 引号 方法
有关PDM的说明,参考:PowerDesigner 物理数据模型(PDM) 说明http://blog.csdn.net/tianlesoftware/article/details/6874067 如果直接导出脚本的话,所有的表和字段都会被加上双引号,不能直接导入数据库。如: create table"cfg_user_card_account" ( "user_card_account_原创 2011-11-04 18:08:29 · 11174 阅读 · 1 评论 -
关系数据库 范式(NF: Normal Form) 说明
一.范式概述(NF:NormalForm) 数据库的设计范式是数据库设计所需要满足的规范,满足这些规范的数据库是简洁的、结构明晰的,同时,不会发生插入(insert)、删除(delete)和更新(update)操作异常。 目前关系数据库有六种范式:第一范式(1NF)、第二范式(2NF)、第三范式(3NF)、第四范式(4NF)、第五范式(5NF)和第六范式(6NF)。满足最低要求的范式是第一范式(转载 2011-11-05 11:41:36 · 12078 阅读 · 0 评论 -
PowerDesigner 15 概述
一. PowerDesigner 介绍 PowerDesigner 15是Sybase公司推出的一个集成了企业架构分析、UML(统一建模语言)和数据建模的CASE(计算机辅助软件工程)工具。它不仅可以用于系统设计和开发的不同阶段(即业务分析、概念模型设计、逻辑模型设原创 2011-10-13 11:20:35 · 12613 阅读 · 0 评论 -
PowerDesigner 工具面板 association,inheritance,association link 不可用 解决方法
PowerDesigner 画E-R 图,关联,继承及关联实体连接不可用。 如图: 解决方法:tools->modeloptions->Notation 改为"E/R+Merise" 修改之后: 刚学PD,当小白了. ----------------------原创 2011-10-13 15:28:55 · 15465 阅读 · 7 评论 -
PowerDesigner 概念数据模型(CDM) 说明
关于PowerDesigner的说明参考:PowerDesigner 15 概述http://blog.csdn.net/tianlesoftware/article/details/6869279 这篇主要了解一下CDM 模型及使用。 一、概念数据模型(CDM)概述 Conce原创 2011-10-13 20:02:08 · 37923 阅读 · 6 评论 -
常用的PL/SQL开发原则 by dbsanke
在微博上看到dbsnake 有一个培训,因为是在北京举办的,过去不。所以问dbsnake 能否把相关的文档传我一份。 dbsnake 邮件给我时说有些东西没有写到文档里。 这个文档也是dbsnake 对Oracle 的一个经验的积累的过程,全部写出来也不实际,所以有机会还是多参加原创 2011-07-19 20:13:46 · 6045 阅读 · 2 评论