Difference btn View and a Query

Hello there,
I am having difficulty conceptualizing the difference btn a view and a query.
I searched the forum but did not get very useful information.
Can someone explain in plain language how a view is different from a query?
Thank you.

Hi Kara,
Have you seen this thread:
Re: What is view
And also this one:
Re: Difference: query- report- view- workbook
Hope this helps...
Message was edited by: Bhanu Gupta
Thanks for pointing that out. I have changed them, plese try again.

Similar Messages

  • When to go for generic extraction using view and infoset query?

    Hi,
                        Can anyone clarify me when we should go for generic extraction using view and when we should go for generic extraction using infoset query....
    Also what is the difference between view and infoset?
    I tried but could not find out....
    Regards,
    Kalyani.

    Hi Kalyani,
    We normally go for View or infoset when the data to be fetched in BW is distributed in different tables in SAP R/3.
    Had the data been available in one table we can easily build our datasource on that table but if there are more tables then its not possible to do it without Views or Infosets. You can use Function Modules to build your datasource in case it involves complex logic to figure out the data from various tables.
    Depending upon the table relationships we create view and include various fields from these tables in that view. Same is with the Infosets, you can have more flexible options like Outer Join, left outer Join etc.
    Regards,
    Pratap Sone

  • What is the difference between view and materialized views

    Hi
    What is the difference between view and materialized view ? can we update the base table using views

    can we update the base table using viewsYes:
    VIEWS
    1. an updatable view is one that lets you perform DML on the underlying table
    (see Oracle Database Concepts 10g - 5 Schema Objects)
    2. non-updatable view requires INSTEAD OF Triggers
    (see Oracle Database Concepts 10g - 22 Triggers)
    SNAPSHOTS
    You can have updateable (and writeable) snapshots - in updateable (writeable) MV replication.
    Oracle uses snapshots (Materialized Views - MV) for two different purposes:
    1. replication
    2. automated Query Rewrite facility (first introduced in Oracle Discoverer, later included in Oracle database 8i).
    Replication types in Oracle are:
    a) Basic replication (MV replication)
    - transaction based
    - row-level
    - asynchronous from master table to MV (Materialized View)
    - DML replication only
    - database 7 / 8.0 / 8i / 9i / 10g
    - Standard and Enterprise Edition
    1. Read-only MV replication
    2. Updateable MV replication:
    2.1 asynchronous from MV to master
    2.2 synchronous from MV to master
    3. Writeable MV replication
    b) Multimaster replication
    - transaction based
    - row-level or procedural
    - asynchronous or synchronous
    - DML and DDL replication
    - database 7 / 8.0 / 8i / 9i / 10g
    - Enterprise Edition only
    1. row-level asynchronous replication
    2. row-level synchronous replication
    3. procedural asynchronous replication
    4. procedural synchronous replication
    c) Streams replication
    - (redo) log based
    - row-level
    - asynchronous
    - DML and DDL replication
    - database 9i / 10g (10g has Down Streams Capture)
    - Enterprise Edition only (Standard Edition 10g can execute Apply process)
    Regards,
    Zlatko Sirotic

  • What is the main difference between view and materialize view and advantage of Mview   ??

    What is the main difference between view and materialize view and advantage of Mview   ??

    1.A view uses a query to pull data from its associated tables.
    2.Views do not have data's physically stored in the Database.
    3.Views Get the Data from 2 or more tables and displays as a single block.
    4.But a materialized view is a table on disk is a result set of a query done.
    5.A Materialized view can have data's in the database.
    6.Materialized view are used for Boosting the Performance.
    7.And the important one is Materialized views are updated based on the parameters defined when they are created.
    8.By using triggers we can update the data in a materialized view.
    9.When you call a materialized view it will show the data when it was last updated.
    Hope it helps.

  • Differences between view and materialized view

    Hello,
    Please tell me the Differences between view and materialized view in oracle 9i.
    Thanks and regards
    Madhuri

    How can I create index in a view?
    Please read reply of Justin Sir.
    Regards
    Girish Sharma

  • Difference between view and window ?

    Hi All,
    Can you tell me a basic difference between view and window , maybe you can correlate your answers with concepts of HTML.
    Rajeev

    Hi Rajeev,
    A window is a place for displaying your views. Your view is not available to the outside world. View is available only to your component. However, your window is an interface view, which can be displayed in other components.
    A view contains your UI elements. It has a layout (a window does not). A window contains embedded views.
    In the window, you can define how navigation between views takes place (by creating navigation links).
    Regards,
    Neha
    <i><b>PS: Reward if helpful</b></i>

  • Difference between  view and synonym

    i want the difference between view and synonym ,and also the cases where view and synonym are used

    How this is related to 'issues and concerns with downloads' is beyond my understanding. Your question seems to be related to database and should be re-issued in the database forums.
    In the mean time, the definitions of each are given at http://download.oracle.com/docs/cd/B19306_01/server.102/b14220/intro.htm#sthref69

  • Generic Extraction - query view and infoset query difference

    Hi Guys,
    I want to know the Generic datasource difference between Extraction from view and Extraction from Query .I have read some threads and documents, still i am not getting the exact difference.
    My understanding :
    Views: combination of tables to view the end result , we use views.
    Infoset query also with help of SQ01, 02, 03  : we combine tables to see the result.
    both use primary key to select the data.
    Please help me.
    Thanks ,
    Nithi.

    Hi Nithi ,
    When we build the datasource on the View
    View is basically a table in which you can take data from many table combniation  .
    in view you can specify the table join condtion and selection condtion
    View data gets updated as the data in the source table gets updated
    When we build the datasource on the Infoset
    Data source str gets filled from the infoset query .you need to use SQ01 and Sq02 transaction for this
    in infoset you can define the tables from which you want to read the date .There is also facilty to write ABAP code which will process the data and fill the the data source str using infoset query
    infoset query read the data from infoset and transfer to data structure
    Thanks
    Rajendra

  • Generic Extractors for HR Reports using views and Infoset Query

    Hi Friends... I am working to come out with the HR reports in BW for the HR reports which are already there in R/3. The HR reports in R/3 are created based on Infoset Query.I could not find any standard business content cubes which can give me these reports.
    1)So please can anyone give me step by step approach so to create a generic extractors based on Infoset Query.
    2)And also how to populate the data into the fields of the generic extractor which is created by Infoset Query( Please provide any sample ABAP code if available)
    3)can anyone give me step by step approach so to create a generic extractors based on View/Table.
    4)And also how to populate the data into the fields of the generic extractor which is created by View/Table( Please provide any sample ABAP code if available)
    Thanks

    Hi Kalyani,
    We normally go for View or infoset when the data to be fetched in BW is distributed in different tables in SAP R/3.
    Had the data been available in one table we can easily build our datasource on that table but if there are more tables then its not possible to do it without Views or Infosets. You can use Function Modules to build your datasource in case it involves complex logic to figure out the data from various tables.
    Depending upon the table relationships we create view and include various fields from these tables in that view. Same is with the Infosets, you can have more flexible options like Outer Join, left outer Join etc.
    Regards,
    Pratap Sone

  • Difference btn RSA5 and RSA6.

    Hi,
    Plz tell me clearly what  are all the diff btn RSA5 and RSA6?
    And also Explain me with Transaction codes, the data flow from R/3 to BI.
    Points will be awarded.

    Hi,
    RSA5---- transfer business content data source
    **make avail these data source to bw side for extracting data.
    RSA6---Data source enhancement
    Enhancement of data source to include extra fields in it.. editing, displaying,test extraction of data source (rsa3) these are functions available in rsa6.
    check the following link for data flow
    http://help.sap.com/saphelp_nw04/helpdata/en/28/4c553c42360a40e10000000a114084/frameset.htm
    Regards
    Harikrishna N

  • View and the query for the view giving different datasets

    I have a view created with the below syntax.
    CREATE OR REPLACE FORCE VIEW vw_name (/*column names*/ )
    AS SELECT /*column names*/ from tables
    When I execute the query with which the view is constructed , I m getting different data set which contains 4690 rows
    and when I exeute the view I m getting dataset which contains only 4657 rows.
    Can you please explain why the differnce in count when the source for both is the same.

    Can you please explain why the differnce in count when the source for both is the same.Answer should be one of the following
    1. The two query are not same
    2. The table data has been modified
    3. You are seeing at the wrong thing (manual error)

  • Views and corelated query

    Hi ,
    1> When are views useful?(scenarios where u could use)
    2> when are corelated subqueries used?(scenarios where u could use)
    Thanks in advance

    When are views useful?
    A view is simply the representation of a SQL statement that is stored in memory so that it can easily be re-used. For example, if we frequently issue the following query
    SELECT empid FROM emp;
    I might well want to make this a view (the reality is that we would probably never create a view for a statement this simple but we wanted to use an easy example).
    To create a view use the create view command as seen in this example
    CREATE VIEW view_emp
    AS
    SELECT empid FROM emp;
    This command creates a new view called VIEW_EMP
    Benefits of Oracle Views
    * Commonality of code being used.
    * Security.
    * Predicate pushing
    when are corelated subqueries used?(scenarios where u could use)
    A correlated subquery is a subquery that uses values from the outer query. The Oracle database wants to execute the subquery once and use the results for all the evaluations in the outer query. With a correlated subquery, the database must run the subquery for each evaluation because it is based on the outer query’s data.
    SQL> select
    2 book_key,
    3 store_key,
    4 quantity
    5 from
    6 sales s
    7 where
    8 quantity < (select max(quantity)
    9 from sales
    10 where book_key = s.book_key);
    BOOK_K STOR QUANTITY
    B101 S101 1000
    B102 S102 10
    B102 S103 200
    B116 S105 100
    B101 S105 8000
    B109 S109 100
    81 rows selected.
    In the example above, the subquery references the book_key in the outer query. The value of the book_key changes by row of the outer query, so the database must rerun the subquery for each row comparison. This has a significant performance impact on the execution time of the query, and for that reason, correlated subqueries should be avoided if possible.
    The outer query knows nothing about the inner query except its results. For that reason, the outer query cannot reference any columns in the subquery. However, the subquery has access to the outer query and can reference outer query columns, thus the correlated subquery.

  • Duration difference between viewer and timeline after insertion or overwrit

    Reopened project from last week and now when I try to put in a new scene, the duration I give in the viewer changes in the timeline.
    i.e. - I overwrite in a 17 frame scene and it becomes a 21 frame scene in the timeline.
    All worked well last week, Any ideas?

    People have very short attention spans these days. Someday the government will have to put Ritalin in the water supply.
    I think I have found my own answer.
    The clips that were causing problems were captured at a different frame rate than the timeline.
    I didn't do the capture but it is my best guess so far.
    I am cutting together movie promos for a television station. Some are off of DVD and some are off of tape.

  • Difference btn WD and VC

    Hello All,
    Can anyone tell me/send me the links reg. the advantages and disadvantages of VC over :
    Web Dynpro for ABAP
    Web Dynpro for Java
    BSPs .
    Regards,
    Deepu.K

    Hi Bala,
    What you have understood about VC is absolutely correct. In short Visual Composer is a browser based modeling tool that allows to create applications on existing data services. The data services can be connections to transactional (RFC, Web Service, Portal JDBC) or analytical (SAP BI, JDBC, SAP Query, XMLA, ODBO) backend systems. In addition you can build User Interfaces, that can be either rendered in Web Dynpro or Adobe Flash/Flex.
    But on the other hand, you are wrong in saying "<i>same being done thru GP</i>". CAF GP is different thing all together. The entire concept of CAF (Composite Application Framework) revolves around building composite applications. CAF is broadly divided into 2 parts: CAF Core and CAF GP. CAF GP is a framework for modeling and managing workflows using simple and user-friendly tools. It can be used to implement processes in your enterprise that involve multiple contributors and use various services.
    In very simple terms, think of a scenario where you have a Web Dynpro Application, a Visual Composer Application, a Web Service etc., and you wish to make a process (workflow) using all of these, where these different applications act as dependent steps (dependent in terms of parameters passing from one step to other), then CAF GP is the tool which will help you achieve this.
    You can now see my answers on the following threads for understanding more on Visual Composer and CAF GP:
    What is visual composer?
    Do let me know if you have any more doubts.
    Bye
    Ankur
    Do reward points for helpful as well as solved answers!!

  • Difference between inline view and WITH

    All,
    What is the difference between an inline view and a query using 'with' keyword...? (scenario / example will be more helpful)

    Thank-you ajay. below section was really helpful, in the above link.
    big_table@ORA920> set echo on
    big_table@ORA920> set autotrace on statistics
    big_table@ORA920>
    big_table@ORA920> with owners
    2 as
    3 ( select distinct owner username from all_objects )
    4 select count(*)
    5 from all_objects, owners
    6 where all_objects.owner = owners.username
    7 union all
    8 select count(*)
    9 from dba_objects, owners
    10 where dba_objects.owner = owners.username
    11 /
    COUNT(*)
    30537
    30977
    2 rows selected.
    Statistics
    4 recursive calls
    7 db block gets
    302441 consistent gets
    1 physical reads
    520 redo size
    418 bytes sent via SQL*Net to client
    499 bytes received via SQL*Net from client
    2 SQL*Net roundtrips to/from client
    3 sorts (memory)
    0 sorts (disk)
    2 rows processed
    big_table@ORA920>
    big_table@ORA920> select count(*)
    2 from all_objects, (select distinct owner username from all_objects ) owners
    3 where all_objects.owner = owners.username
    4 union all
    5 select count(*)
    6 from dba_objects, (select distinct owner username from all_objects ) owners
    7 where dba_objects.owner = owners.username
    8 /
    COUNT(*)
    30537
    30977
    2 rows selected.
    Statistics
    28 recursive calls
    0 db block gets
    442058 consistent gets
    0 physical reads
    0 redo size
    418 bytes sent via SQL*Net to client
    499 bytes received via SQL*Net from client
    2 SQL*Net roundtrips to/from client
    4 sorts (memory)
    0 sorts (disk)
    2 rows processed
    big_table@ORA920> set autotrace off
    Edited by: sikander on Sep 9, 2010 12:39 AM
    Edited by: sikander on Sep 9, 2010 12:40 AM

Maybe you are looking for

  • Display Image from Local p"ath c:\image.gif"

    Hi Experts, Is there anyway to display an image from local path i.e "c:\img.jpg". I need to display an image from the path in Dialog(Screen) programming. I need to do it using program not any other way... Can anyone suggest me a method please. Thanks

  • SAP LSO - Profile matchup  -Qualification hyperlink error

    Dear Experts, In my profile matchups and Qualification, when I click the highlighted Qualifications , I get an error like "Error COMMUNICATION_FAILURE. Possible cause: error during communication with the back-end system.  Try to display the requested

  • HT201263 why Ipad 2 goes to recovery mode automatically

    can some one suggest me why this happening after restoring data through recovering mode. its shut down automatically and needs againg to restore

  • Requsting urgent Reply

    Hi, Can any body tell me the way how i need to upload storage bin data. which tool would be better whether LSMW or BDC and whether SCAT can be used?         say for example we have 50,000 bins. i am requsting an urgent reply. If u have any screen sho

  • Splitting XML Incoming Message for BizTalk

    Hi,    I have a BizTalk XML Input message like the one  below and I would like to generate single xml message for every BacklogMaterialNode I have. Source Format.( Complete Message) ========================== <BacklogSnapshot xmlns="http://www.myorg.