Results 1 to 2 of 2
  1. #1
    Join Date
    Apr 2013
    Posts
    41

    Unanswered: ORA-01031 Insufficient privileges

    When I try to create a view that including different tables I'm getting the following error: Error at Line 1: ORA-01031 Insufficient privileges.

    Could anyone tell me what could be the problem. I tried following stackoverflow post mentioned here but it's pertaining to different schemas.

    oracle - ORA-01031: insufficient privileges when selecting view - Stack Overflow

    Please let me know as I'm new here.

    My Query is as follows:

    ORiginal Question:Create a view to select employee ID, employee name, hire date, and department number.

    MY SOLUTION:

    Code:
    CREATE VIEW SIMPVIEW AS
    SELECT EMPNO, ENAME, HIREDATE,DEPTNO
    FROM EMP;
    Please help !

    Thanks

  2. #2
    Join Date
    Aug 2003
    Location
    Where the Surf Meets the Turf @Del Mar, CA
    Posts
    7,776
    Provided Answers: 1
    has CREATE VIEW privilege actually been GRANTed to this user?

    with Oracle, everything is forbidden; except that which has been explicitly GRANTED.
    You can lead some folks to knowledge, but you can not make them think.
    The average person thinks he's above average!
    For most folks, they don't know, what they don't know.
    Good judgement comes from experience. Experience comes from bad judgement.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •