摘要: 1语句简介编辑GroupBy语句从英文的字面意义上理解就是“根据(by)一定的规则进行分组(Group)”。它的作用是通过一定的规则将一个数据集划分成若干个小的区域,然后针对若干个小区域进行数据处理。2. Group By 的使用:上面已经给出了对Group By语句的理解。基于这个理解和SQL S... 阅读全文
posted @ 2014-06-25 19:44 Bryan chen 阅读(186) 评论(0) 推荐(0) 编辑
摘要: q/?ICAction=ICQryNameURL=PUBLIC.XLD_HR_RPT_006XLD_HR_RPT_006为query名称 阅读全文
posted @ 2014-06-25 19:27 Bryan chen 阅读(159) 评论(0) 推荐(0) 编辑
摘要: 1. Component Permission List Query:This query identify the permission lists and its description associated with component.SELECT menu.menuname, compdfn.pnlgrpname, auth.classid permission_list,CLASS.classdefndesc permission_descFROM psauthitem auth,psmenudefn menu,psmenuitem menuitm,pspnlgroup comp, 阅读全文
posted @ 2013-10-26 17:57 Bryan chen 阅读(514) 评论(0) 推荐(0) 编辑
摘要: The sql will identify duplicate objects in different application designer projects to eliminate duplicate work by developers.You will find the SQL very handy during the analysis phase of a peoplesoft upgrade project. You1st need to identify your projects and run compare and report through applicatio 阅读全文
posted @ 2013-10-26 17:53 Bryan chen 阅读(282) 评论(0) 推荐(0) 编辑
摘要: Record level AuditingAs the name suggests, record level auditing is the auditing mechanism enforced on aRecord. To set up record level auditing, follow the steps below.1. Choose the Record Not all records in PeopleSoft need auditing. When there is such a business requirement, choose the record(s) th 阅读全文
posted @ 2013-10-26 17:48 Bryan chen 阅读(484) 评论(0) 推荐(0) 编辑
摘要: ProjectsPSPROJECTDEFN — Project header tablePSPROJECTITEM — Definitions in the projectFieldsPSDBFIELD — Fields in the systemPSXLATITEM — Translate ValuesRecordsPSRECDEFN — Record header tablePSRECFIELD — Fields in the record (subrecords not expanded)PSRECFIELDALL — Fields in the record (subrecords e 阅读全文
posted @ 2013-10-26 17:21 Bryan chen 阅读(282) 评论(0) 推荐(0) 编辑
摘要: Oracle模糊查询应该如何实现呢?下面就教您一个实现Oracle模糊查询的方法,如果您在Oracle模糊查询方面遇到问题,不妨一看。在Where子句中,可以对datetime、char、varchar字段类型的列用Like子句配合通配符选取那些“很像...”的数据记录,以下是可使用的通配符:% 零或者多个字符_ 单一任何字符(下划线)\ 特殊字符[] 在某一范围内的字符,如[0-9]或者[aeth][^] 不在某范围内的字符,如[^0-9]或者[^aeth]其中关于条件,SQL提供了四种匹配模式:1,%:表示任意0个或多个字符。可匹配任意类型和长度的字符,有些情况下若是中文,请使用两个百分号 阅读全文
posted @ 2013-10-26 17:19 Bryan chen 阅读(7701) 评论(0) 推荐(0) 编辑
摘要: #方法一:使用 not in ,容易理解,效率低 ~执行时间为:1.395秒~SELECT COUNT(1) FROM ecs_goods WHERE ecs_goods.goods_id NOT IN (SELECT ecs_member_price.goods_id FROM ecs_member_price);#方法二:使用 left join...on... , "B.IDisnull" 表示左连接之后在B.ID 字段为 null的记录 ~执行时间:0.739秒~SELECT COUNT(1) FROM ecs_goods LEFT JOIN ecs_member_ 阅读全文
posted @ 2013-10-26 17:18 Bryan chen 阅读(1261) 评论(0) 推荐(0) 编辑
摘要: There are two types of delivered auditing in PeopleSoft:Field level auditingRecord level auditingField level auditing tracks changes to one or more fields on a PeopleSoft record and stores the results in the deliveredPSAUDITtable.Like record level auditing, field level auditing only applies to data 阅读全文
posted @ 2013-10-26 17:17 Bryan chen 阅读(227) 评论(0) 推荐(0) 编辑
摘要: 今天主要分析下oracle服务进程如何处理用户进程的请求oracle服务进程如何处理用户进程的请求服务器进程在完成用户进程的请求过程中,主要完成如下7个任务:0.sql语句的解析1.数据块的读入db buffer2.记日志3.为事务建立回滚段4.本事务修改数据块5.放入dirty list6.用户commit或rollback0.sql语句的解析下面要讲oracle服务器进程如可处理用户进程的请求,当一用户进程提交一个sql时:update temp set a=a*2;首先oracle服务器进程从用户进程把信息接收到后,在PGA中就要此进程分配所需内存,存储相关的信息,如在会话内存存储相关的 阅读全文
posted @ 2013-10-26 17:17 Bryan chen 阅读(1152) 评论(0) 推荐(0) 编辑