hfm系统常见表查询

以下SQL查询FDMEE的定时任务:
select a., b.
from fdmee.SNP_PLAN_AGENT a,
(select b.i_plan_agent, b.var_name, b.var_value
from fdmee.SNP_VAR_PLAN_AGENT b)
pivot(max(var_value)
for var_name in('AIF.p_bal_import_from_source_flag' as source_flag,
'AIF.p_bal_check_flag' AS check_flag,
'AIF.p_prd_start_date' AS start_date,
'AIF.p_prd_end_date' AS end_date,
'AIF.p_bal_load_exch_rate_flag' AS exch_rate_flag,
'AIF.p_bal_recalculate_flag' AS recalculate_flag,
'AIF.p_web_service_url' AS service_url,
'AIF.p_bal_export_mode' AS export_mode)) b
where a.i_plan_agent = b.i_plan_agent
ORDER BY A.I_PLAN_AGENT;

posted @   在海边看风景  阅读(14)  评论(0编辑  收藏  举报
相关博文:
阅读排行:
· 无需6万激活码!GitHub神秘组织3小时极速复刻Manus,手把手教你使用OpenManus搭建本
· Manus爆火,是硬核还是营销?
· 终于写完轮子一部分:tcp代理 了,记录一下
· 【杭电多校比赛记录】2025“钉耙编程”中国大学生算法设计春季联赛(1)
· 别再用vector<bool>了!Google高级工程师:这可能是STL最大的设计失误
点击右上角即可分享
微信分享提示