What can i do for creating view on a public synonym?

Hi people,
I have create a public synonym for other users object as,
SQL> create public synonym pdep for scott.dept;
Synonym created.
then i tend to create a view on this public syn as,
SQL> create view vpdep as select * from pdep;
create view vpdep as select * from pdep
ERROR at line 1:
ORA-01031: insufficient privileges
I have privilege to create view.also i can create view on a public synonym of my own objects.for ex,
SQL> create public synonym cdep for dept;
Synonym created.
SQL> create view vcdep as select * from cdep;
View created.
what could be the reason behind this?is there any privilege required for me.pls suggest me.
Regards
VIDS

Hi vidusnat!
This is from Oracle's onlinedocumentation:
>
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 through a role:
o The CREATE VIEW system privilege (to create a view in your schema)
o The CREATE ANY VIEW system privilege (to create a view in another user's schema)
You must have been explicitly granted one of the following privileges:
o The SELECT, INSERT, UPDATE, or DELETE object privileges on all base objects underlying the view
o The SELECT ANY TABLE, INSERT ANY TABLE, UPDATE ANY TABLE, or DELETE ANY TABLE system privileges
In addition, in order to grant other users access to your view, you must have received object privileges to the base objects with the GRANT OPTION clause or appropriate system privileges with the ADMIN OPTION clause. If you have not, then grantees cannot access your view.
>
I hope that this will bring a little light into darkness!
Yours sincerely
Florian W.

Similar Messages

  • What is the use for CREATING VIEW WITH CHECK OPTION?

    Dear Legends,
    I have a doubt
    What is the use for creating view?
    A: First Data Integrity, Selecting Particular Columns..
    What is the use for creating a view with check option?
    A: As per oracle manual I read that its a referential integrity check through views.
    A: Enforcing constraints at DB level.
    A: using CHECK OPTION we can do INSERTS UPDATES for a view for those columns who have no constraints... is it right??
    A: If we do a INSERT OR UPDATE for columns who have constraints it will show error... is it right???
    Please clear my doubt's Legends
    Lots of Thanks....
    Regards,
    Karthik

    Hi, Karthick,
    karthiksingh_dba wrote:
    ... What is the use for creating view?
    A: First Data Integrity, Selecting Particular Columns..Most views are created and used for convenience. A view is a saved query. If the same operations are often done, then it can be very convenient to code those operations once, in a view, and refer to the view rather than explicitly doing those operations.
    Sometimes, views are created and used for security reasons. For example, you many want to allow some users to see only certain rows or certain columns of a table.
    Views are necessary for INSTEAD OF triggers.
    What is the use for creating a view with check option?
    A: As per oracle manual I read that its a referential integrity check through views.The reason is integrity, not necessarily referential integrity. The CHECK option applies only when DML is done through the view. It prohibits certain changes. For example, if a user can't see certain rows through a view, the CHECK option keeps the user from creating such rows.
    A: Enforcing constraints at DB level.I'm not sure what you mean. Please give an example.
    A: using CHECK OPTION we can do INSERTS UPDATES for a view for those columns who have no constraints... is it right??No. Using CHECK OPTION, you can do some inserts and updates, but not others. The columns involved may or may not have constraints in either case.
    A: If we do a INSERT OR UPDATE for columns who have constraints it will show error... is it right???If you try to violate a constraint, you'll get an error. That happens in views with or without the CHECK OPTION, and also in tables.

  • HT2534 I don't have none in payment method. What can I do for creating an apple ID without credit card?

    I don't have none in payment method. What can I do for creating an apple ID without a credit card?

    You need to follow, exactly, the instructions on the HT2534 page that you posted from when creating an account - I've just tried it on my iPhone and those instructions still work.
    Creating an account with 'none' :
    computer's iTunes : https://discussions.apple.com/message/24321860
    iPhone : https://discussions.apple.com/message/24700173

  • What is better way for creating a thread? Why?

    A thread can be create in two way, extending Thread class or implimenting Runnable.
    What is better way for creating a thread? Why?

    Implementing Runnable
    See FAQ #1 here [http://forum.java.sun.com/ann.jspa?annID=9]

  • What can I use to create a photo banner/collage that is free formed. I'll need background colors and ability to place 5 or more pics in a horizontal row? Does adobe have a product i can use to create this?

    what can I use to create a photo banner/collage that is free formed. I'll need background colors and ability to place 5 or more pics in a horizontal row? Does adobe have a product i can use to create this? I'm not looking for templates when creating.
    thanks
    tracy

    You can select 5 (or more images) and place them by dragging in Adobe InDesign. After creating document go to File > Place, navigate to images and select them. In InDesign start dragging and press right arrow key couple of times then release mouse button. You can export file as PDF, JPG, PNG image from File > Export.

  • What is the tcode for creating material receipt

    Hi,
    what is the tcode for creating material receipt & payment to the vendor

    Hi,
    You recieve your material from the vendor and do a Goods Reciept in MIGO with mvt 101. You can even enter via T-Code - MB1C.
    Once you get your Invoice for this reciept from your vendor, you then do invoice verification in MIRO.
    After verification, if there is no blocking of the invoices and is posted and released, a accounting document is released during the posting of MIRO. These documents are then referred by FI pals, who are responsible for the payment.
    Hope this gives you a clear picture.
    Anand
    Message was edited by:
            Anand.B.K.

  • I don't have a credit card to create a Child ID. What can I do to create one?

    I don't have a credit card to create a Child ID. What can I do to create one?

    That's not the point. A credit card with a security code is required to "prove" you are a parent in order to set up a child's account in Family Sharing. You can change your payment method right back, Apple says, to a debit card THAT ALSO HAS A SECURITY CODE. If you are a parent without a credit card you can't access Family Sharing for all family members. Apple doesn't care if you're in debt and don't have a card or have freed yourself from the horrible credit card system. It's crap.

  • What is the tcode for creating a variant ??

    Dear Guru,
    I want to know What is the tcode for creating a variant  which is being used for SM30 's variant option .
    Because we have created a maintenance view and we want to run this trhough tcode..
    but dont know how to do it.
    pls guide through out the procedure.
    thanks & regards
    Saifur rahaman

    Hi,
    If you want to create the TCODE for the TMG you created you must go for Parameter Transaction
    Go to SE93
    Give your Tcode
    Click Create , select parameter transaction Radio Button
    In the Transaction Field Give SM30
    Check the Check box SKIP INITIAL SCREEN
    select your GUI support and SAVE
    in the space provided give F4
    Select        VIEWNAME and give your table name
    Select                  UPDATE  give it as X
    then SAVE
    Edited by: Prasanth Kasturi on Nov 25, 2008 6:54 AM

  • Centre button is not working properly in my iphone . . what can i do for that ?

    centre button is not working properly in my iphone . . what can i do for that ?

    Get it serviced.

  • HT4437 hi even when i connect my macbook and apple tv to the same wifi network i cant put on the air play mirroring option.my airplay mirroring option does not detect any device.what can i do for this?

    hi even when i connect my macbook and apple tv to the same wifi network i cant put on the air play mirroring option.my airplay mirroring option does not detect any device.what can i do for this?

    See
    http://support.apple.com/kb/TS4215

  • Help me plz.. i,ve got a apple i phone 4 and i'm the 2 owner of it and i dont have it's apple id and passward for it and 1st owner doesnt know it too so what can i do for this plz help me....

    help me plz.. i,ve got a apple i phone 4 and i'm the 2 owner of it and i dont have it's apple id and passward for it and 1st owner doesnt know it too so what can i do for this plz help me....

    Neither can we.  Only the original owner can help you, surely he/she can reset their password.

  • What can i do for removing SINGLE in this select query??

    What can i do for removing SINGLE in this select query given below and also NOT USE 'ENDSELECT'??
    I have defined g_t_zv7_cachemapping as following ::
    DATA : BEGIN OF g_t_zv7_cachemapping OCCURS 0,
             kostl LIKE zv7_cachemapping-kostl,
             END OF g_t_zv7_cachemapping.
    SELECT SINGLE kostl FROM zv7_cachemapping INTO g_t_zv7_cachemapping
               WHERE  auart = g_t_vbak-auart.
            IF sy-subrc = 0 .
            ENDIF.

    Shashank,
    DATA : BEGIN OF g_t_zv7_cachemapping OCCURS 0,
    AUART LIKE zv7_cachemapping-AUART,
    kostl LIKE zv7_cachemapping-kostl,
    END OF g_t_zv7_cachemapping.
    If not g_t_vbak[] is initial.
    SELECT auart kostl
      FROM zv7_cachemapping INTO table g_t_zv7
    for all entries in g_t_vbak
    WHERE auart = g_t_vbak-auart.
    Endif.
    sort : g_t_zv7 by auart , 
              g_t_vbak by auart.
    loop at g_t_vbak.
      READ TABLE g_t_zv7 WITH KEY AUART = g_t_vbak-AUART
                                        BINARY SEARCH.
       IF sy-subrc eq 0.
       ENDIF.
    endloop.
    Pls. reward if useful

  • What can I use for a low battery warning on a Mac Book OSX10.8?

    What can I use for a low battery warning on a Mac Book OSX10.8?

    What you should see above all your windows when your battery gets to low.

  • I have an apple iphone4 im facing the problem that my phone senser is not working when i rotate the phone in videos or music play there is working from the senser can u tell me what can i do for this....

    i have an apple iphone4 im facing the problem that my phone senser is not working when i rotate the phone in videos or music play there is working from the senser can u tell me what can i do for this....

    If you double tap the home button, and then swipe your finger to the right, make sure you DO NOT have the Lock Orientation button enabled.
    You know it is disabled if there is no padlock in the middle of the icon.

  • HT1222 i had a problem in my ipad 3.in the main screen it shows ' ipad is disabled'connect to the itunes'.what can i do for it.pls help me!

    i had a problem in my ipad 3.in the main screen it shows ' ipad is disabled'connect to the itunes'.what can i do for it.pls help me!

    I can't connect my ipod to itunes because it asks for my pass code which obviously I don't have it to connect to itunes to fix the problem in the first place.Thanks for your help.

Maybe you are looking for

  • Software recommendation to remove duplicate files on HDD?

    Hello everyone I downloaded Singular for this prupose, but to be honest, it's not done me any good. I have transferred a lot of files over from various external HDDs and disk images, and in Logic Studio actually have duplicate channel strip settings

  • Blazeds war and weblogic server: a failure?

    when i try to deploy the latest blazeds release 3.2.0.3978 to weblogic 10.3 i get the following exception: [J2EE:160144]Failed to register library Extension-Name: blazeds, Implementation-Version: 3.2.0.3978: Library cannot have Implementation-Version

  • Workflow entry not in table SWD_HEADER

    Hi Guys, After transporting a Worflow from Dev to QA, I noticed that the workflow entry is not getting entered in the table SWD_HEADER. Would anyone know why this is happening  and how to overcome this ? Regards, Satish

  • How can I install Mac OS X Snow Leopard on Mac OS X Tiger?

    Hello. Can someone tell me how I can install Mac OS X Snow Leopard on Mac OS X Tiger? I have the disk, but when I open the installer, I get a message saying that Snow Leopard could not be installed on my computer and it could only be installed on a I

  • (ErrorDocument 404)

    Hi, I'm trying to submit a code to "Code tips" of Oracle magazine,but the following page http://www.oracle.com/webapps/cif/servlet/survey?p_id=144&type=CIF "Code tip form" doesn't work for a long time. Seems like nobody care about. On submission I'm