Results 1 to 6 of 6

Thread: View Updating rule

  1. #1
    Junior Member
    Join Date
    Jul 2008
    Answers
    1

    View Updating rule

    What makes oracle not to achieve View Updating rule?


  2. #2

    Re: View Updating rule

    The veiw should contain all the not null columns from the combination of base tables used for creating that particular view....
    Then only it is updateble...


  3. #3
    Moderator
    Join Date
    Jun 2007
    Answers
    2,074

    Re: View Updating rule

    please find a related discussion here.


  4. #4
    Junior Member
    Join Date
    Jan 2008
    Answers
    6

    Re: View Updating rule

    Rule description general rule any insert, update, or delete operation on a join view can modify only one underlying base table at a time. Update rule all updatable columns of a join view must map to columns of a key-preserved table. If the view is defined with the with check option clause, then all join columns and all columns of repeated tables are not updatable. Delete rule rows from a join view can be deleted as long as there is exactly one key-preserved table in the join. If the view is defined with the with check option clause and the key preserved table is repeated, then the rows cannot be deleted from the view. Insert rule an insert statement must not explicitly or implicitly refer to the columns of a non-key-preserved table. If the join view is defined with the with check option clause, insert statements are not permitted.


  5. #5
    Junior Member
    Join Date
    Sep 2007
    Answers
    4

    Re: View Updating rule

    The View should not contain distinct keyword,rownum keyword,group by clause to perform dml operations through it.


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

    Re: View Updating rule

    Quote Originally Posted by subravin View Post
    The View should not contain distinct keyword,rownum keyword,group by clause to perform dml operations through it.
    Rownum is not a keyword. It is a pseudo column.


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