COGNOiSe.com - The IBM Cognos Community

IBM Cognos 10 Platform => Cognos 10 BI => Report Studio => Topic started by: yogeswari on 29 May 2015 07:40:22 AM

Title: Which sql (native sql or cognos sql) will the query hit for processing?
Post by: yogeswari on 29 May 2015 07:40:22 AM
Hi,

"When a data item is dragged and dropped into report, after the default query generated, then which SQL will the query hit for processing either native sql or cognos sql?


The above which i did not get correct answer after many googling. So please clear my doubts as your information would be really greatful.

Thanks,
Yogeswari.
Title: Re: Which sql (native sql or cognos sql) will the query hit for processing?
Post by: Raghuvir on 29 May 2015 08:13:12 AM
Quote from: yogeswari on 29 May 2015 07:40:22 AM
Hi,

"When a data item is dragged and dropped into report, after the default query generated, then which SQL will the query hit for processing either native sql or cognos sql?


The above which i did not get correct answer after many googling. So please clear my doubts as your information would be really greatful.

Thanks,
Yogeswari.

Cognos SQL is a database agnostic form of the query which is translated into the Native SQL which is then sent to the database. Some operations may not be supported by your database so occasionally only part of the Cognos SQL can be translated into the Natvie SQL. In this case you will have part of the query processed at the database and a later portion processed at the Cognos server according to the Cognos SQL statement.
Title: Re: Which sql (native sql or cognos sql) will the query hit for processing?
Post by: ravimahazan84 on 29 May 2015 11:11:50 PM
It's depends in which processing you are asking this.if its database end its Native sql and for content store end its cognos sql.
Title: Re: Which sql (native sql or cognos sql) will the query hit for processing?
Post by: barrysaab on 30 May 2015 02:48:55 AM
Does it means Cognos sql is translated  to native sql  ,Then it is executed.I always assumed, it is native sql that hits the database.
Can someone please confirm.Thanks in advance