对于report studio ,在前台的交互界面输入相关 过滤参数(比如:输入日期,或者其他条件)后,想查看对应后台的sql是什么?
应该不看cogserver.log ,是否需要看cognos下的一些xml文件那?
请高手解答
点击reportstudio工具了上边的菜单栏有选项: 工具 -> 显示生成的SQL/MDX 即可。
收起后台spl 需要打开cognos configuration, 具体是:
1)open IBM Cognos Administration
2) Status->System -> Settings-System-> Logging
3) click set properties, then enable below name
Logging Enable query execution trace
Audit the native query for report service
don't need to restart process, the sql select will be in cogserver.log
收起