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

2011年12月23日

摘要: 因为PL/SQL中没有直接可以采用的函数,所以第一选择是自己写一个create or replace function workday (v_day1 DATE,v_day2 DATE) --两个形参,其中v_day1的日期小于v_day2return numberas v_num number; --计数器 v_day_1 DATE:=v_day1; v_day char;begin v_num:=0; loop v_day :=to_char(v_day_1,'D'); --将日期转为1~7的char型 ... 阅读全文

posted @ 2011-12-23 20:22 little健健 阅读(703) 评论(0) 推荐(0) 编辑

2011年12月2日

摘要: 1.Web Intelligence 胖客户端可在以下工作模式(共三种)下启动:• 已连接• 脱机• 独立2.设置用户首选项单击“工具” > “选项”3.控制查询检索数据的方式编辑查询-->属性4.合并查询的类型• 并集(UNION)• 交集(INTERSECTION)• 差集(MINUS)5.查询过滤器 - 这些过滤器是在查询中定义的;它们会限制从数据源中检索并返回到 Web Intelligence 文档的数据。预定义过滤器 - 由您的管理员创建定制过滤器 - 您在查询上定义快速过滤器 - 一种简化形式的定制过滤器,适用于简单过滤 报表过滤器 - 这些过滤器限制文档中的报表、表 阅读全文

posted @ 2011-12-02 16:43 little健健 阅读(1176) 评论(0) 推荐(0) 编辑

2011年11月15日

摘要: 图片有些不能显示请看https://www.evernote.com/shard/s108/sh/a5192352-f9bd-4791-aa8c-59fe0b844be7/41d68d756c13dbee9da8ebd62e753ce8第一章:Designer简介变量 $INSTALLDIR 是指 Designer 和 Web Intelligence所使用的数据访问文件的安装根路径。这是带有操作系统子目录的 BusinessObjects 安装路径,其中包含 Designer 可执行文件和数据访问驱动程序。在 Windows 下,$INSTALLDIR = \\...\Business Ob 阅读全文

posted @ 2011-11-15 10:56 little健健 阅读(3214) 评论(0) 推荐(0) 编辑

2011年11月2日

摘要: 有两张表 question1 和 answer1表的结构如下question1(Q_ID为primary key):Q_ID Q_CONTENT1 100+1002 100-1003 100*100answer1(A_ID为primary key,Q_ID为foreign key):A_ID A_CONTENT Q_ID1 10 22 20 1现使用游标编写函数,输入为一字符串,如果与Q_CONTENT相同,则输出相应的A_CONTENT 1 create or replace function get... 阅读全文

posted @ 2011-11-02 22:37 little健健 阅读(245) 评论(0) 推荐(0) 编辑

2011年10月5日

摘要: 51.Whiledesigningyourdatabase,youhavecreatedtheEMPLOYEEStableasanindex-organizedtable(IOT).YouwanttocreateabitmapindexontheJOB_IDcolumntomakequeriesfaster.Whichtaskmusthavebeencompletedsothatyouareabletocreatethebitmapindex?A.Aprimarykeymusthavebeencreated.B.Amappingtablemusthavebeencreated.C.Anover 阅读全文

posted @ 2011-10-05 23:01 little健健 阅读(3234) 评论(4) 推荐(0) 编辑

2011年10月4日

摘要: 1.YouneedtochecktheEMP_EASTpartitionintheEMPLOYEEStableforphysicalcorruptions.Youalsoneedtoverifythattherowsbelongtothecorrectpartition.Whichoptioncouldyouuse?A.LogMinerB.theDBNEWIDutilityC.theDBVERIFYutilityD.theANALYZEcommandE.theRMANREPORTcommandF.theRMANCROSSCHECKcommandG.theRMANBLOCKRECOVERcomm 阅读全文

posted @ 2011-10-04 20:58 little健健 阅读(3678) 评论(0) 推荐(0) 编辑

2011年10月1日

摘要: 声明:所有解析均限于本人理解231.Exhibit,listofprivileges.YouworkasadatabaseadministratorforSupportcenter.cn.Thedatabaseuser,SupportCenterUSER07,hastheCONNECTroleassigned.Youwantthisusertobeableto:A)connecttothedatabasewhenthedatabaseisinrestrictedmodeB)querythetablescreatedbyotherusers.Whichminimalsetofprivileges 阅读全文

posted @ 2011-10-01 21:13 little健健 阅读(3193) 评论(0) 推荐(0) 编辑

2011年9月30日

摘要: 声明:所有解析均限于本人理解161.Yourdatabaseisnotconfiguredforsessionfailover.Yourtnsnames.orafilecontainsthefollowingdetails:test.us.oracle.com=(DESCRIPTION=(ADDRESS_LIST=(LOAD_BALANCE=off)(FAILOVER=ON)(ADDRESS=(PROTOCOL=tcp)(HOST=test1-server)(PORT=1521))(ADDRESS=(PROTOCOL=tcp)(HOST=test2-server)(PORT=1521)))(C 阅读全文

posted @ 2011-09-30 23:23 little健健 阅读(4685) 评论(1) 推荐(0) 编辑

2011年9月29日

摘要: 131.WhichtwostatementsaretrueregardingtheSGA_TARGETinitializationparameter?(Choosetwo.)A)ItcanbeincreaseduptothevalueoftheSGA_MAX_SIZEparameter.B)IncreasingthevalueofSGA_TARGETuptothevalueofSGA_MAX_SIZEdisablestheautomaticsharedmemorymanagementfeature.C)ReducingthevalueoftheSGA_TARGETparametertakesa 阅读全文

posted @ 2011-09-29 23:04 little健健 阅读(3870) 评论(0) 推荐(0) 编辑

摘要: ORA-01261: Parameterstringdestination string cannot be translatedCause:The value for the specified parameter contained a destination string that could not be translated.Action:Use a valid destination string in the specified parameter.产生原因 修改了参数db_recovery_file_dest路径不存在导致不能开启数据库修改Pfile文件,将参数路径修改为存在. 阅读全文

posted @ 2011-09-29 10:38 little健健 阅读(5675) 评论(0) 推荐(0) 编辑