码迷,mamicode.com
首页 > 数据库 > 详细

查询请求SQL

时间:2016-02-16 16:39:17      阅读:175      评论:0      收藏:0      [点我收藏+]

标签:

-- 查询请求定义
  1. SELECT fcpt.user_concurrent_program_name,
  2. decode(fe.execution_method_code,
  3. ‘H‘,
  4. ‘主机‘,
  5. ‘S‘,
  6. ‘立即‘,
  7. ‘J‘,
  8. ‘Java 存储过程‘,
  9. ‘K‘,
  10. ‘Java 并发程序‘,
  11. ‘M‘,
  12. ‘多语言功能‘,
  13. ‘P‘,
  14. ‘Oracle Reports‘,
  15. ‘I‘,
  16. ‘PL/SQL 存储过程‘,
  17. ‘B‘,
  18. ‘请求集阶段函数‘,
  19. ‘A‘,
  20. ‘派生‘,
  21. ‘L‘,
  22. ‘SQL*Loader 程序‘,
  23. ‘Q‘,
  24. ‘SQL*Plus‘,
  25. ‘E‘,
  26. ‘Perl 并发程序‘,
  27. ‘Others‘) execution_method_name,
  28. fe.execution_file_name,
  29. fat.description program_application,
  30. fcp.concurrent_program_name,
  31. fet.user_executable_name,
  32. fe.executable_name,
  33. fat1.description executable_application
  34. FROM fnd_concurrent_programs fcp,
  35. fnd_concurrent_programs_tl fcpt,
  36. fnd_application fa,
  37. fnd_application_tl fat,
  38. fnd_executables fe,
  39. fnd_executables_tl fet,
  40. fnd_application fa1,
  41. fnd_application_tl fat1
  42. WHERE fcp.concurrent_program_id = fcpt.concurrent_program_id
  43. AND fcpt.language = userenv(‘lang‘)
  44. AND fcp.application_id = fa.application_id
  45. AND fa.application_id = fat.application_id
  46. AND fat.language = userenv(‘lang‘)
  47. AND fcp.executable_id = fe.executable_id
  48. AND fe.executable_id = fet.executable_id
  49. AND fet.language = userenv(‘lang‘)
  50. AND fe.application_id = fa1.application_id
  51. AND fa1.application_id = fat1.application_id
  52. AND fat1.language = userenv(‘lang‘)
  53. ------------------- 查询条件 ---------------------
  54. AND fcpt.user_concurrent_program_name = ‘SOHU_账龄报告_AR‘
  55. -- AND fcpt.user_concurrent_program_name like ‘%SOHU_账龄报告_AR%‘
  56. -- and fcp.concurrent_program_name = ‘CUX_PKG‘
  57. ------------------- 查询条件 ---------------------
  58. AND 1 = 1;





查询请求SQL

标签:

原文地址:http://www.cnblogs.com/abelwang/p/5192971.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!