Results 1 to 7 of 7

Thread: how is create matieralized view?

  1. #1
    Contributing Member
    Join Date
    Jul 2007
    Answers
    42

    how is create matieralized view?

    i craeted sqlplus but this did not accepted.

    do u create only datawarehouing tool in materialized view ?
    can u give example


  2. #2
    Expert Member
    Join Date
    Sep 2007
    Answers
    697

    Re: how is create matieralized view?

    >>i craeted sqlplus but this did not accepted.

    You can create materialized view from SQL * PLUS as follows

    SQL> CREATE MATERIALIZED VIEW mv_emp
    2 AS SELECT * FROM EMP;

    Snapshot created.


    What is the error message you getting?


  3. #3
    Contributing Member
    Join Date
    Jul 2007
    Answers
    42

    Re: how is create matieralized view?

    SQL> CREATE MATERIALIZED VIEW mv_emp
    2 AS SELECT * FROM EMP;
    *
    error is coming
    missing identifier


  4. #4
    Expert Member
    Join Date
    Sep 2007
    Answers
    697

    Re: how is create matieralized view?

    It seems you have pasted line number also

    sql> create materialized view mv_emp
    2 2 as select * from emp;
    2 as select * from emp
    * error at line 2: ora-00905: missing keyword

    Just type it as follows
    create materialized view mv_emp as select * from emp;

    Last edited by krishnaindia2007; 05-26-2008 at 06:44 AM.

  5. #5
    Contributing Member
    Join Date
    Jul 2007
    Answers
    42

    Re: how is create matieralized view?

    how is difference view and materialized view?
    when do u use oracle datawarehousing?
    what is impartent datawarehousing?


  6. #6
    Expert Member
    Join Date
    Sep 2007
    Answers
    697

    Re: how is create matieralized view?

    >>Difference between view and materialized view?

    -A view is a logical table based on a table or another view.
    -A view contain no data of its own but it is like a window through which data from tables can be viewed or changed.
    -The view is stored as a query in the data dictionary.

    -Materialized view store the results of the query in the database.
    -After the update, the view data matches the table data but the materialized view data does not.
    -Data in materialized views must be refreshed to keep it synchronized with its base table.


  7. #7
    Expert Member
    Join Date
    Sep 2007
    Answers
    697

    Re: how is create matieralized view?

    >>what is datawarehouse and what is its importance?

    A data warehouse is a separate database dedicated to decision support. Data is transferred in from transaction processing (oltp) systems. It is accessed to provide management information through report writers, query tools, data access and retrieval tools, olap servers and enterprise information systems. A data warehouse is a software architecture, not a product.


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
About us
Applying for a job can be a stressful and frustrating experience, especially for someone who has never done it before. Considering that you are competing for the position with a at least a dozen other applicants, it is imperative that you thoroughly prepare for the job interview, in order to stand a good chance of getting hired. That's where GeekInterview can help.
Interact