COGNOiSe.com - The IBM Cognos Community

Legacy Business Intelligence => COGNOS ReportNet => Report Studio => Topic started by: dwsiva on 24 Dec 2007 12:48:05 AM

Title: Use SQL WITH Clause
Post by: dwsiva on 24 Dec 2007 12:48:05 AM
Hi All
In Query Explorer,Properties pane,we have the option called "Use SQL WITH clause".
Can anybody tell me what is the use of this option?
Thanks in advance to all
Title: Re: Use SQL WITH Clause
Post by: MFGF on 24 Dec 2007 06:06:34 AM
Hi,

Take a look at the latest SQL99 standard for a description of the "with" syntax (an alternative to "select").  Earlier standards (89,92 etc) do not support "with" so any Cognos query using this syntax will get converted back to a "select" in the native SQL for databases that are not SQL99 compliant.

MF.