COGNOiSe.com - The IBM Cognos Community

IBM Cognos 8 Platform => COGNOS 8 => COGNOS 8 Administration => Topic started by: joseph123 on 20 Mar 2012 05:54:33 PM

Title: How to know reports using Native SQL in FM from content store.
Post by: joseph123 on 20 Mar 2012 05:54:33 PM
Hi All

I have a req. of listing all the reports using Native SQL for Query subjects created in FM.
Does any one knows where the SQL stores (which table in Content Store) in Content Store.

Thanks & Regards,
Joseph
Title: Re: How to know reports using Native SQL in FM from content store.
Post by: joseph123 on 21 Mar 2012 07:20:58 PM
Does any one knows what are the tables to be joined to pull Native SQL reports.
Title: Re: How to know reports using Native SQL in FM from content store.
Post by: kilaru2772 on 22 Mar 2012 04:43:54 PM
i am not sure if this helps, this is something for finding sql based reports


select n.cmid, n.name, p.spec from CMOBJNAMES n, CMOBJPROPS7 p where n.cmid = p.cmid and p.spec like '<report %' and p.spec like '%<sqlText>%' order by n.name

Title: Re: How to know reports using Native SQL in FM from content store.
Post by: joseph123 on 23 Mar 2012 02:54:45 PM
Thanks for your response.

This SQL works well only for the reports with Native SQL in Report Studio.
It doesn't work, If I run the same SQL report after embedding and  publishing in FM.
Title: Re: How to know reports using Native SQL in FM from content store.
Post by: joseph123 on 18 Apr 2012 02:14:13 PM
Is some one knows the SQL to find out the reports using native SQl.
I need this very urgent.

Thanks
Joseph
Title: Re: How to know reports using Native SQL in FM from content store.
Post by: Lynn on 18 Apr 2012 02:44:44 PM
If you know which FM query subjects are SQL-based then could you use the report dependencies tool in FM to find what you are looking for?
Title: Re: How to know reports using Native SQL in FM from content store.
Post by: joseph123 on 18 Apr 2012 05:00:18 PM
Lynn

Thanks for Reply.
We have hundreds of reports built on SQL arranged in a specific folder.