上一页 1 ··· 37 38 39 40 41 42 43 44 45 ··· 63 下一页
摘要: [code]fnd_profile.value的用法: select fnd_profile.value('gl_set_of_books_id') from dual select fnd_profile.value('mfg_organization_id') from dual --取子库 select fnd_profile.value('GL_SET_OF_BKS_ID') from dual--取帐套 (此方式在R12中已不能使用,需要用GL_ACCESS_SET_ID再查询出LEDGER_ID) 用此方式調整正確的當前咝协h境,特別是在multi_org環境下(在報表前,報表後 阅读全文
posted @ 2010-12-31 13:37 郭振斌 阅读(2473) 评论(0) 推荐(0) 编辑
摘要: 一:分析函数over Oracle从8.1.6开始提供分析函数,分析函数用于计算基于组的某种聚合值,它和聚合函数的不同之处是 对于每个组返回多行,而聚合函数对于每个组只返回一行。 下面通过几个例子来说明其应用。 1:统计某商店的营业额。 date sale 1 20 2 15 3 14 4 18 5 30 规则:按天统计:每天都统计前面几天的总额 得到的结果: DATE SALE SUM ----- -------- ------ 1 20 20 --1天 2 15 35 --1天+2天 3 14 49 --1天+2天+3天 4 18 67 . 5 30 97 . 2:统计各班成绩第一名的同 阅读全文
posted @ 2010-12-31 13:35 郭振斌 阅读(876) 评论(0) 推荐(1) 编辑
摘要: [代码] 阅读全文
posted @ 2010-12-31 12:01 郭振斌 阅读(1165) 评论(0) 推荐(0) 编辑
摘要: [代码] 阅读全文
posted @ 2010-12-31 11:59 郭振斌 阅读(839) 评论(0) 推荐(0) 编辑
摘要: [代码] 阅读全文
posted @ 2010-12-31 11:54 郭振斌 阅读(788) 评论(0) 推荐(0) 编辑
摘要: select c.user_name, papf.full_name, b.user_concurrent_program_name, a.request_date, a.argument_text, (a.actual_completion_date - a.actual_start_date) * 24 * 60 minutes, a.actual_start_date, a.actual_completion_date, a.request_id, a.outfile_name from fnd_concurrent_requests a, fnd_concurren 阅读全文
posted @ 2010-12-31 11:54 郭振斌 阅读(633) 评论(0) 推荐(0) 编辑
摘要: [代码] 阅读全文
posted @ 2010-12-31 11:48 郭振斌 阅读(845) 评论(0) 推荐(0) 编辑
摘要: [代码] 阅读全文
posted @ 2010-12-31 11:44 郭振斌 阅读(495) 评论(0) 推荐(0) 编辑
摘要: [代码] 阅读全文
posted @ 2010-12-31 11:43 郭振斌 阅读(554) 评论(0) 推荐(0) 编辑
摘要: [代码] 阅读全文
posted @ 2010-12-31 11:40 郭振斌 阅读(474) 评论(0) 推荐(0) 编辑
上一页 1 ··· 37 38 39 40 41 42 43 44 45 ··· 63 下一页