SUMSEN

Oracle&Sql爱好者,用友NC管理员

  博客园 :: 首页 :: 博问 :: 闪存 :: 新随笔 :: 联系 :: 订阅 订阅 :: 管理 ::

07 2012 档案

摘要:魅族MX四核评测:两倍动力GSMArena 团队 2012.7.18http://www.gsmarena.com/1#Introduction 介绍 以本地市场作为大本营然后逐步的向国际市场进军并不是魅族发明的,但是魅族正在使用这个策略来取得重大的成功,也许有人认为中国这个广阔并且有着巨大发展潜力的市场足以让魅族忙活着了,可是魅族公司不是这样想,他们瞄准了国际市场,因此,为了这个目标还有比跻身于世界四大四核智能手机制造商更好的测量吗?(HTC one x,三星galaxy s3,魅族mx 四核,LGOptimus 4X HD P880) 和三星的合作是魅族四核手机面世的关键,魅族知名度不如L 阅读全文
posted @ 2012-07-22 19:54 sumsen 阅读(2216) 评论(0) 推荐(0) 编辑

摘要:Meizu MX 4-core review: Twice the power魅族MX四核评测:两倍动力GSMArena 团队 2012.7.181#Introduction 介绍Make a stronghold of your home market and prepare for worldwide expansion. Meizu didn't invent the wheel with this strategy but is using it to great success. One would think a market as vast as China - and 阅读全文
posted @ 2012-07-20 16:06 sumsen 阅读(4884) 评论(2) 推荐(0) 编辑

摘要:SQL> show parameter open_cursors --每个session(会话)最多能同时打开多少个cursor(游标) NAME TYPE VALUE ------------------------------------ ----------- ------------------------------ open_cursors integer 300 SQL> show parameter session... 阅读全文
posted @ 2012-07-19 14:28 sumsen 阅读(13301) 评论(0) 推荐(0) 编辑

摘要:create or replace trigger ADDCSUTSAME before insert on bd_cubasdoc for each rowdeclare -- local variables here pk_bas varchar2(200); cursor basjob(id varchar2)is select custname from bd_cubasdoc where custname=id and nvl(dr,0)=0 and custname in (select custname from bd_cubasdoc) /*and len... 阅读全文
posted @ 2012-07-09 17:24 sumsen 阅读(292) 评论(0) 推荐(0) 编辑

摘要:create or replace trigger S_UPDATE_CUSTBANK before update on bd_custbank for each rowdeclare -- local variables here pk_bas char(20); cursor basjob(id char) is select pk_custbank from ncv5.bd_custbank /*目标数据库表*/ where pk_custbank = id and nvl(dr, 0) = 0;begin /*判断数据是否在目标数... 阅读全文
posted @ 2012-07-09 10:57 sumsen 阅读(523) 评论(0) 推荐(0) 编辑

摘要:一) 用Oracle Exists替换DISTINCT: 当提交一个包含一对多表信息(比如部门表和雇员表)的查询时,避免在SELECT子句中使用DISTINCT。一般能够考虑用Oracle EXIST替换,Oracle Exists使查询更为迅速,因为RDBMS核心模块将在子查询的条件一旦满足后,立即返回结果。例子: SELECT DISTINCT DEPT_NO,DEPT_NAME FROM DEPT D,EMP E WHERE D.DEPT_NO = E.DEPT_NO;SELECT DEPT_NO,DEPT_NAME FROM DEPT D WHERE Exists(SELECT ‘X& 阅读全文
posted @ 2012-07-05 14:56 sumsen 阅读(16211) 评论(0) 推荐(0) 编辑

摘要:最初的思路是在or后面直接增加付过款的pk,如下create or replace trigger CSpcace_ACCBANKbefore insert or update on bd_accbankfor each rowdeclare-- local variables herebegin if regexp_like(:new.bankacc,'[[:space:]]') or regexp_like(:new.combineaccnum,'[[:space:]]') or regexp_like(:new.unitname,'[[:space 阅读全文
posted @ 2012-07-05 14:29 sumsen 阅读(339) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示