GeekInterview.com
   Home |  Tech FAQ  |   Interview Questions |  Placement Papers |  Tech Articles |  Learn |  Freelance Projects |  Online Testing |  Geeks Talk |  Job Postings |  Knowledge Base | Site Search |  Add/Ask Question

GeekInterview.com  >  Interview Questions  >  Data Warehousing  >  Cognos
Go To First  |  Previous Question  |  Next Question 
 Cognos  |  Question 121 of 175    Print  
What different kinds of SQL you can write at the report level
What is tabular SQL,Tabular Modal and Tabular Set

  
Total Answers and Comments: 2 Last Update: November 23, 2007     Asked by: sindhu1103 
  
 Sponsored Links

 
 Best Rated Answer
Submitted by: ranganadh
 

1.Cognos SQL

By default, Framework Manager uses Cognos SQL to create and edit query subjects. Cognos SQL adheres to SQL99 rules and works with all relational and tabular data sources. Framework Manager generates the most optimized SQL possible. In this way, Cognos SQL is preferable. Because query subjects in Framework Manager are similar to views in databases, the SQL for each

query subject must conform to the SQL99 rules that apply to views.

2.Native SQL

Native SQL is the SQL the data source uses, such as Oracle SQL. You can not use native SQL in a query subject that references more than one data source in the project. SQL specified in Framework Manager and processed by the database, whether native or pass-through, must be completely self-contained. It must not reference anything outside that SQL, such as database prompts, variables, or native formatting that would normally be supplied by the calling application.

3.Pass-Through SQL

Pass-through SQL lets you use native SQL without any of the restrictions the data source imposes on subqueries. This is because pass-through SQL query subjects are not processed as subqueries. Instead, the SQL for each query subject is sent directly to the data source where the query results are generated.

I think some body wrote about sql is wrong.

tabular model

An object that you can use to select query items for a report. A tabular model defines a simple list query. In the XML code for report specifications, tabular model is represented by the tabularModel element.

tabular reference

An object that you use to reference the tabular object of another query within the same report. In report specifications, it is represented by the tabularReference element.

tabular set

An object that merges rows from two tabular objects, usually tabular models. A tabular set

produces a single result set using union, intersect or except (minus) set operators.

In report specifications, tabular set is represented by the tabularSet element.

tabular SQL

An object that you use to specify a SQL statement that returns a result set. The SQL statement may be expressed by using syntax recognized by the native database, or by using Cognos SQL syntax.

In report specifications, tabular SQL is represented by the tabularSQL element.

ranganadhn@yahoo.com



Above answer was rated as good by the following members:
reddy_143
November 11, 2007 12:35:16   #1  
Nageswara Rao Nandigam        

RE: What different kinds of SQL you can write at the r...

  There are two types of sql in Cognos Reportnet .They are Cognos Sql and Native Sql

Native Sql used for single datasource to import the meta data

Cognos Sql used for multiple data source to import the meta data


Tablur model:  It is the basic list query.It contain the data items,filters and child tablur objects.

Tablur SQL: We can write and edit our own SQL.

Tablur ref:  It is a shortcut to use another tablur object somewhere on another querywithin the same report specification.

Tablur Set: Tablur set returns a singleresultset using union,intersect and minus operators.


 
Is this answer useful? Yes | No
November 23, 2007 03:56:15   #2  
ranganadh Member Since: May 2006   Contribution: 3    

What different kinds of SQL you can write at the r...

1.Cognos SQL

By default, Framework Manager uses Cognos SQL to create and edit query subjects. Cognos SQL adheres to SQL99 rules and works with all relational and tabular data sources. Framework Manager generates the most optimized SQL possible. In this way, Cognos SQL is preferable. Because query subjects in Framework Manager are similar to views in databases, the SQL for each

query subject must conform to the SQL99 rules that apply to views.

2.Native SQL

Native SQL is the SQL the data source uses, such as Oracle SQL. You can not use native SQL in a query subject that references more than one data source in the project. SQL specified in Framework Manager and processed by the database, whether native or pass-through, must be completely self-contained. It must not reference anything outside that SQL, such as database prompts, variables, or native formatting that would normally be supplied by the calling application.

3.Pass-Through SQL

Pass-through SQL lets you use native SQL without any of the restrictions the data source imposes on subqueries. This is because pass-through SQL query subjects are not processed as subqueries. Instead, the SQL for each query subject is sent directly to the data source where the query results are generated.

I think some body wrote about sql is wrong.

tabular model

An object that you can use to select query items for a report. A tabular model defines a simple list query. In the XML code for report specifications, tabular model is represented by the tabularModel element.

tabular reference

An object that you use to reference the tabular object of another query within the same report. In report specifications, it is represented by the tabularReference element.

tabular set

An object that merges rows from two tabular objects, usually tabular models. A tabular set

produces a single result set using union, intersect or except (minus) set operators.

In report specifications, tabular set is represented by the tabularSet element.

tabular SQL

An object that you use to specify a SQL statement that returns a result set. The SQL statement may be expressed by using syntax recognized by the native database, or by using Cognos SQL syntax.

In report specifications, tabular SQL is represented by the tabularSQL element.

ranganadhn@yahoo.com


 
Is this answer useful? Yes | NoAnswer is useful 1   Answer is not useful 0Overall Rating: +1    

 Related Questions

1.Create a calculated column which contains the information that the header is to contain, such as "Report for year 1999" (concatenated text and date to string sub string extraction). 2.Highlight 
Latest Answer : Create dataitem by using cast function and use that data item value for the dynamic column name by changing the source value (name under properties) for the column you need. ...
Read Answers (9) | Asked by : Jagan

The sub-report only includes the first value."When the sub-report query runs, it checks for the first row in the Customer Name column and shows only information for that customer. If you want a sub-report 
Latest Answer : By using the 'IN' operator in creation of a prompt we can create a sub report.  When the prompt executes, you can select multiple values and the results from the sub-report will reflect those selected items. ...
Read Answers (1) | Asked by : Jagan

How to show the data reported horizontally:(For example:)employee skill1 a1 b1 c2 d2 e2 fReport result:1 abc2 def
Assuming 3 records per grouped item:1. Group on employee2. Create a running count based on the skill field.3. Create 3 calculated columns based on the count field.Call them skill1, skill2, skill3:if (count 
Read Answers (2) | Asked by : Jagan

What is meant by Junk Dimension?How do you perfom while running the report?Where will you see the time of running report?Size of the cube?What are the types of prompts in ReportNet?What is macro and how it will be work?What is difference between Cognos and Cognos ReportNet?How do you create cube in ReportNet?There are 10 facts are there.How will you connect all?
I need answer 
Read Answers (10) | Asked by : hakkim

What is the difference between a cascading report and drillthru report?why do we go for drill thru report?
Read Answers (5) | Asked by : suresh babu

Latest Answer : We can provide border for that chats you select chat and select properties you will set there box type there. ...
Read Answers (1) | Asked by : Dnyanesh Prabhu

Latest Answer : the most common problems are -1.No Data Appears in the Report (to remove this check data source or package)2.Unexpected or incorrect values appears in reports , may be report is running with limited data3.The report filter does not work, values are not ...
Read Answers (1) | Asked by : chim

Latest Answer : From which package u want to select and then go to select the template. According to ur documents select & add query items and if any conditional and filters u have add to ur report. After complete your report u have to test the report. ...
Read Answers (2) | Asked by : nagapradeep

Latest Answer : In Cognos 8, you can do it in three stages 1) Package Level 2) Object level 3) Data level Package level Expan the namespace, R click on package > Click on Edit Package Package Access window appears, Remove "All users" from it Click Adds, ...
Read Answers (1) | Asked by : soumya

1.What are differences between Reporter report and Explorer report?2.What are purposes of Rollup?3.How to update the Cube invrementally?4.Purpose of Subsets?5.How to do the Manual Partitioning/6.Purpose of SubDimensions?7.Difference between drillup, drilldown and Drill through?8.How to create Cube groups?9.What is the work og PPES?10.What is Consolidation
Read Answers (6) | Asked by : selva


 Sponsored Links

 
Related Articles

Breaking up XML into Relational Data

Breaking up XML into Relational Data While the preceding example shows how to construct an XML representation over relational data the example in this section illustrates how you can shred XML data back into relational data This reverse operation can be useful if your application works with relation
 

Querying Data with Oracle XQuery

Querying Data with Oracle XQuery Starting with Oracle Database 10g Release 2 you can take advantage of a full featured native XQuery engine integrated with the database With Oracle XQuery you can accomplish various tasks involved in developing PHP Oracle XML applications operating on any kind of dat
 

Retrieving XML Data

Retrieving XML DataTo retrieve XML data from an XMLType table you can use a SELECT SQL statement just as you would if you had to query a relational table For example to select the employee with the id set to 100 from the employees XMLType table discussed in the preceding section you might issue the
 

Using XMLType for Handling XML Data in the Database

Using XMLType for Handling XML Data in the Database Being an object type XMLType can not only be used to store XML data in the database but also to operate on that data via its built in methods Regardless of the storage model you choose XMLType provides a set of XML specific methods to operate on XM
 

Using Oracle Database for Storing, Modifying, and Retrieving XML Data

Using Oracle Database for Storing Modifying and Retrieving XML Data With Oracle XML DB you have various XML storage and XML processing options allowing you to achieve the required level of performance and scalability One of the most interesting things about Oracle XML DB is that it allows you to per
 

ODP.NET - Techniques to Improve Performance while Retrieving Data

ODP NET Techniques to Improve Performance while Retrieving Data Performance tuning is a great subject in Oracle Volumes of books would not be enough to cover every aspect of performance tuning in Oracle However in this section we will only discuss the fundamental performance techniques while working
 

ODP.NET - Populating a Dataset with a Single Data Table

ODP NET Populating a Dataset with a Single Data Table A dataset is simply a group of data tables These data tables can be identified with their own unique names within a dataset You can also add relations between data tables available in a dataset mosgoogle The following code gives you the details o
 

ODP.NET - Retrieving Typed Data

ODP NET Retrieving Typed Data While retrieving values from OracleDataReader we can extract information available in individual columns of a particular row either by using column ordinal position values or column names mosgoogle Retrieving Typed Data Using Ordinals ODP NET provides data specific enum
 

ODP.NET - Retrieving Data Using OracleDataReader

ODP NET Retrieving Data Using OracleDataReader OracleDataReader is simply a read only and forward only result set It works only if the database connection is open and it makes sure that the connection is open while you are retrieving data As the data that it retrieves is read only it is a bit faster
 

ODP.NET - Fundamental ODP.NET Classes to Retrieve Data

ODP NET Fundamental ODP NET Classes to Retrieve Data To retrieve data from an Oracle database using ODP NET we need to work with a few of the ODP NET classes At this point we will discuss the most fundamental classes available in ODP NET for retrieving data mosgoogle The following is the list of fun
 





About Us  |   Privacy Policy  |   Terms and Conditions  |   Contact  |   Site Map  |   Add Question  |   Propose Category  |   RSS Feeds  |   Articles Sitemap  |   Site Updates  |   Add Resource

Copyright © 2005 - 2008 GeekInterview.com. All Rights Reserved
Page copy protected against web site content infringement by Copyscape