What can I do for the creation of a public synonym view?

Hi people,
I create a public synonym of another object to users

SQL > create public synonym PAPD for scott.dept;


The synonym is created.

so I tend to create a view of this public syn

SQL > create view vpdep in select * from PAPD.
Create view vpdep in select * from PAPD
*
ERROR on line 1:
ORA-01031: insufficient privileges

I have the privilege to create view.also, I can create views of a public synonym for my own ex objects.for,

SQL > create public synonym cdep for dept.

The synonym is created.

SQL > create view vcdep in select * from cdep;

Created view.

What could be the reason behind this? is there any privilege required to me.pls suggest me.

Concerning
VIDS

Hi vidusnat!

It is onlinedocumentation to Oracle:
>
Privileges required to create views

To create a view, you must meet the following requirements:

You must have been granted one of the following system privileges, either explicitly, or by a role:
o CREATE The VIEW system privilege (to create views in your schema)
o The CREATE ANY VIEW system privilege (to create a view of another user schema)
You must explicitly obtained one of the following privileges:
o the SELECT, INSERT, UPDATE, or DELETE object privileges on all objects in the view's underlying base
o SELECT it ANY TABLE, INSERT a WHOLE TABLE, UPDATE ANY TABLE or DELETE ANY TABLE access privileges

In addition, in order to grant access to your display of other users, you must have privileges to object to the base with the OPTION GIVING clause objects or system privileges with ADMIN OPTION clause. If you do not, users cannot access your view.
>

I hope that this will bring a little light in the darkness!

Yours sincerely

Florian W.

Tags: Database

Similar Questions

  • What adobe program is for the creation of 2d cartoons?

    This answer should be obvious for me, but im afraid that it is not

    I mean... all programs seem to do some things that are useful, but do not have the other features important, leavng me totally confused b on the workflow

    for example, adobe flash has some good features for stop motion, but it seems to be very limited in terms of processing of images and drawing/painting

    Illustrator is very good for creating vector drawings and drawing of characters but seems to have no ability to recount chronology or onion

    Photoshop is easy to use and ideal for the work but has no ability to vector and seems to have no smoothing capabilities like illustrator brush

    after effects is very intuitive in my opinion, but does not aim to stop the motion at all, as each element is in need of another track

    so... Where this leave us?

    I haven't used adobe animate still however I hear its virtually identical to flash

    any help would be great

    Hello

    Please see the link below for help:

    How to use Adobe character animation | Tutorials Adobe after effects CC

  • What product to use for the creation of a PDF file?

    Which adobe product, we usually use to create a PDF file, it's as easy as microsoft word? Please don't laugh at me, I need to learn it :)

    I need more these days as Im dealing with (translation) therefore need to lock files sometimes against copying or extraction etc...

    Message edited by Jochem van Dieten: links removed

    It is important to understand what is a PDF file. You do not create a PDF file in the same way that you would create a Word file, it is not an editable format. You create your document in the software that you usually use (Word, Excel, InDesign, Photoshop, etc.) can export a PDF file, as if you were printing a paper copy. If you need to make changes, make you to the original document and export PDF one another.

    Acrobat will install plugins for Office and Creative Suite programs (InDesign, Framemaker, etc.) will export PDF files even if Acrobat is not installed, but most of the time users does not really "in" Acrobat except to make things with forms or advanced security features. You cannot open Acrobat and start typing a letter as you can in Word.

    Word has in fact already a function save slot, but it is very limited with respect to the content of PDF files and options to optimize, secure and accessible.

    [message moved on Acrobat forums]

  • WHAT CAN I DO FOR THE 1 ERROR CODE

    OFFICE CREATIVE CLOUD COULD NOT INSTALL. (ERROR 1 CODE)

    Error code 1: "unable to install". Creative cloud office:

    https://helpx.Adobe.com/creative-cloud/KB/failed-install-creative-cloud-desktop.html

  • Hello. Hard drive of my computer totally crashed & I had to wipe my hard drive. I wasn't able to log out of my apps for the creation of clouds which my wife has 2 licenses for us. Can someone please explain the process to re download these apps please

    Hello. Hard drive of my computer totally crashed & I had to wipe my hard drive. I wasn't able to log out of my apps for the creation of clouds which my wife has 2 licenses for us. Can someone please explain the process to re download these apps please? Thank you..

    Hello

    Please refer to the help documents below to download the application Adobe CC:

    Creative cloud to desktop

    Download, install, update or uninstall applications

    Kind regards

    Sheena

  • How can I get all the options for the creation of new titles? I'm stuck on a Board where it does not color or width/size options

    How can I get all the options for the creation of new titles? I'm stuck on a Board where it does not color or width/size options

    If you have not all panels in the Titler then go and reset the current workspace that is located under the window.

  • What is the minimum for the creation of an application?

    Hello! What is the minimum for the creation of an application (from the creation of the folio to submit to Apple iTunes)? I know it's a matter rather general, but it would be useful in terms of planning.

    Once made the creation of a simple editing application folio (which, I guess that's what)

    ask yourself on) about 15 minutes from start to end as long as

    you have all the assets. Apple takes 1-2 weeks to review the application.

  • What is the limit for the creation of a primary key?

    Hi friends I have an another question... .Please help me...


    What is the limit for the creation of a primary key?


    Thank you

    I think that its 32

    Yes from the doc

    Primary and unique keys because composites are limited to 32 columns, a composite foreign key is also limited to 32 columns.

    Published by: Karthick_Arp on January 13, 2010 22:04

  • Partitioning hard drive, I want to spend 30/40 GB drive and the remaining space for the creation of other partitions.

    I created a recovery disc for my system that I bought the new laptop.
    It consist of 500 GB HARD drive, now the problem is the C - drive which is my WIN7 Home Basic installed occupies 400 GB of space and the D-drive has only 25 GB.
    My problem is I want to partition the drive C so that the other player must occupy the space according to my condition.
    But here its only gives me half the space to shrink.
    I mean, when I opened diskmgmt to shrink, C this is 200 GB disk space allotted to me.
    Medium I can use this space to create other partitions, but what I want is, I want to spend 30/40 GB C drive and the remaining space for the creation of other partitions.
    Help, please... Thnks...

    That's what we tried to tell you. An OEM installation does not lend itself to change and having to clear guarantees for re-setup means that you must be quite certain that you have other reliable ways to re-setup.

    If you want to dabble with Linux or dual boot, you should buy a complete commercial edition of Windows 7 that will give you more flexibility and accept that for drivers etc, you're on your own...

  • With the help of API OIM10g for the creation of a certificate custom...

    Hello

    I had a need to create certificate requests in bulk may be 100 + number. Can I have some information about the creation of certificate by using the OIM10g API. I could find the function for creating it - AttestationDefinitionOperationsIntf.createAttestationDefinition (com.thortech.xl.vo.AttestationProcessDefinitionVO definition)

    but do not know what is this 'AttestationProcessDefinitionVO' mean and how to pass the details required for the creation of certificate like name, code, description, critical, scope user, scope of resource, departure, delay etc.?

    Use link below:
    Issue certificate - need help

  • Client Oracle is a test for the creation of SP database?

    I have the Oracle 10 g client in my machine. Is there a database of test I can connect to and create stored procedures?
    If not, is it possible to create a local database?
    And what about the Oracle Express customer? It come with a test database? Or do I need to install the database in my system for the creation of SP?

    901007 wrote:
    I have the Oracle 10 g client in my machine. Is there a database of test I can connect to and create stored procedures?
    If not, is it possible to create a local database?
    And what about the Oracle Express customer? It come with a test database? Or do I need to install the database in my system for the creation of SP?

    N ° you must install the version of the oracle for this database server.

  • Convert data in hierarchal of hierarchical data for the creation of the tree

    Hi guys,.

    I tried to figure this out for about two days together now and I'm still stuck and I see no possible solution that does not involve a new creation of the table.
    I want to create a tree to navigate through projects and tasks, I use the demo "Task Manager" app, which I customized it a bit to fit my needs.

    Basically, I can't create the tree because the relationship between projects and tasks is not a hierarchical relationship, it's a relationship 1: n like this:

    __Projects__
    ID (PK)
    PROJECT NAME



    ___Tasks___
    ID (PK)
    Project (done FK reference Projects.ID)


    So what I have to do is to "force" this relationship 1: n with a hierarchical relationship by creating a query (view) that links the two tables into one and have 2 columns, I can use as ID and PARENT_ID for the creation of the tree.

    This is the data model:


    CREATE TABLE 'EBA_TASK_PROJECTS '.
    (NUMBER OF 'ID',
    'PROJECT_NAME' VARCHAR2 (255),
    "CREATED_ON" DATE NOT NULL ACTIVATE.
    'CREATED_BY' VARCHAR2 (255) NULL NOT ACTIVATE.
    DATE OF THE "UPDATED_ON"
    "UPDATED_BY' VARCHAR2 (255),
    'FLEX_01' VARCHAR2 (4000).
    'FLEX_02' VARCHAR2 (4000).
    'FLEX_03' VARCHAR2 (4000).
    'FLEX_04' VARCHAR2 (4000).
    'FLEX_05' VARCHAR2 (4000).
    NUMBER OF "PARENT_ID"
    VARCHAR2 (1) 'IS_ACTIVE ',.
    VARCHAR2 (4000) "DESCRIPTION."
    CONSTRAINT CHECK of 'EBA_TASK_PROJECTS_ACTIVE_CC' (in is_active ('Y', 'n')) ENABLE,.
    ENABLE 'EBA_TASK_PROJECTS_PK' CONSTRAINT PRIMARY KEY ('ID')
    ) ; ALTER TABLE 'EBA_TASK_PROJECTS' ADD 'EBA_TASK_PROJECTS_FK' OF CONSTRAINT FOREIGN KEY ('PARENT_ID')
    REFERENCES 'EBA_TASK_PROJECTS' ('ID') ON DELETE CASCADE ACTIVE;


    CREATE TABLE 'EBA_TASK_TASKS '.
    (SELECT 'ID' NUMBER NOT NULL,)
    ACTIVATE THE "PROJECT" NUMBER NOT NULL,
    ACTIVATE THE "TASK_PRIORITY" VARCHAR2 (400) NOT NULL,
    ACTIVATE THE "TASK_DIFFICULTY" VARCHAR2 (400) NOT NULL,
    ACTIVATE THE "TASKNAME" VARCHAR2 (4000) NOT NULL,
    VARCHAR2 (4000) "TASK_DETAILS."
    "CREATED_ON" DATE NOT NULL ACTIVATE.
    DATE 'DONE ',.
    ACTIVATE THE 'CREATED_BY' VARCHAR2 (400) NOT NULL,
    'STATUS' VARCHAR2 (4000).
    DATE OF THE "UPDATED_ON"
    "ON THE ROAD" DATE.
    NUMBER OF "TASK_PREDEFINED_ID."
    "UPDATED_BY' VARCHAR2 (255),
    ACTIVATE THE "USER_NAME" VARCHAR2 (255) NOT NULL,
    'FLEX_01' VARCHAR2 (4000).
    'FLEX_02' VARCHAR2 (4000).
    'FLEX_03' VARCHAR2 (4000).
    'FLEX_04' VARCHAR2 (4000).
    'FLEX_05' VARCHAR2 (4000).
    NUMBER OF "PERCENTAGE."
    ENABLE 'EBA_TASK_TASKS_PK' CONSTRAINT PRIMARY KEY ('ID')
    ) ; ALTER TABLE 'EBA_TASK_TASKS' ADD 'EBA_TASK_TASKS_PROJECTS_FK' OF CONSTRAINT FOREIGN KEY ('PROJECT')
    REFERENCES 'EBA_TASK_PROJECTS' ('ID') ON DELETE CASCADE ACTIVE;

    I use APEX4.0

    It's good enough that this guy, hope you can help me with this. I'm really stuck on this and I'm about to give up.

    Hello

    So what I have to do is to "force" this relationship 1: n with a hierarchical relationship by creating a query (view) that links the two tables into one and have 2 columns, I can use as ID and PARENT_ID for the creation of the tree.

    I'd say you need a UNION rather than a JOIN.
    Something like:

    WITH project_task_view AS (
     SELECT 'P'||to_char(id) as id
          , null as parent_id
          , project_name as node_name
     FROM eba_task_projects
     UNION ALL
     SELECT 'T'||to_char(id)
          , 'P'||to_char(project_id)
          , task_name
     FROM eba_task_tasks
    )
    SELECT id, parent_id, node_name, level
    FROM project_task_view
    START WITH parent_id IS NULL
    CONNECT BY PRIOR id = parent_id
    ;
    
  • condition for the creation of EO

    is it possible to create of EO without primary key? (not available in the primary key table and I do not used row id)


    Thank you
    Prateek

    As far as I know, the primary key or the row id is required for the creation of EO...
    http://download.Oracle.com/docs/CD/E12839_01/Web.1111/b31974/bcentities.htm#sm0133

    4.2.3.2. what happens if a Table has no primary key
    If a table has no primary key constraint, then JDeveloper cannot deduct the primary key of the entity object. Because each entity object must have at least one attribute marked as primary key, the wizard will create an attribute named RowID and use the database of ROWID value as the primary key of the entity. If necessary, you can edit the entity object later to mark a different attribute as the primary key and remove the attribute of RowID. When you use the wizard create an entity object and you have not set up another attribute like primary key, you will be asked to use RowID as the primary key.

  • What is a substitute for the migration assistant? I tried in vain for three hours to migrate files from a macbook pro to each other so that even if connected with the ethernet cable the computers never see each other.

    What is a substitute for the migration assistant? I tried in vain for three hours to migrate files from a macbook pro to each other so that even if connected with the ethernet cable the computers never see each other.

    You can connect otherwise?  USB or FireWire or love at first sight?  You can connect both machines and start the one you want to transfer to target disk mode.  If your other machine is up and running with an account on it and you just want to move files, you can simply drag and drop the FRO the machine mounted TDM, or you can use the migration wizard.

    Or, if the other machine still starts and runs, you can start both computers and connect to the same wifi network and share the hard drive like machines on the network.  Access them in the finder on the new machine files and drag-and - drop, or use the wizard migration, on wifi.

  • CC 2015 shows the updates available for the creation and Media Encoder, but fails to download/install them.

    CC 2015 shows the updates available for the creation and Media Encoder, but fails to download/install them. Generated the log shows "ERROR: DS015: cannot read the target of the symbolic link to the file source (...)" at the end.

    What am I supposed to do?

    Thank you, Carlo Romano

    Finally, what worked for me was to completely uninstall and reinstall both apps until 2015 for CC.

    Thanks a lot for the quick reply anyway.

    Carlo

Maybe you are looking for

  • Recent Firefox upgrade gieves me an authorization on my site framed error.

    Recent update of Firefox (40.0.2) gives me an error of authorisation on my site framed. I have a site http://calendar.shaw-weil.com/ which is nothing more than a framework. See below When I click on a number I now get permissionYou need a username an

  • dv4-1435dx recovery fails

    When you perform a restore to original factory it fails during the "HP Software is installed. After several reboots, I get the following error: The attempt to retrieve filed. Please select one of the following buttons: (details and try again is displ

  • Creative ZEN V 1 GB white/Orange Media Player

    my pc did not recognize my zen my pc says no drive detected

  • Permissions after update MM

    Hello. After the last update and the parameter you must confirm the permision of the apps on my apple music phone won't download anything. I don't not even pop window for the permission. Can anyone help?

  • laptop software need driver to connect by bluetooth iphone4s

    I'm attaching an iphone4s to my samsung laptop RV520 to connect to internet. It connects ok when connected by usb but the connection when you use wi-fi/bluetooth keeps on disconecting. The phone tells me that the iphone needs to install drivers. Can'