What privileges are needed to create a cross-schema view

For example:
User A owns T1, T2
User B wants to create a view using T1 and T2 (join them)
What privileges does user B need? I have 2 claims:
1. Create View and SELECT on A.T1 and A.T2 to user B
2. SELECT WITH GRANT OPTION on A.T1 and A.T2 to user B
Thanks!

# 1
# 2 is required if user B wanted to grant select on that created view to other users.

Similar Messages

  • What privileges are required to create XMLIndex in somebody else's schema?

    Hi,
    I'm logged in as "system as sysdba" and trying to create an XMLIndex in another schema called "eventschema". The command fails with "ORA-01031: insufficient privileges". How come I can create a relational index in eventschema, but not an XMLIndex? What privilege does system or eventschema need? I granted UNLIMITED_TABLESPACE to eventschema already, but that did not solve the problem.
    SQL> show user
    USER is "SYS"
    SQL> describe eventschema.event;
    Name                                      Null?    Type
    EVENT_ID                                  NOT NULL NUMBER(20)
    EVENT_UUID                                         VARCHAR2(50)
    RECORDTIME                                         TIMESTAMP(9)
    EVENTTIME                                          TIMESTAMP(9)
    EVENTXMLTEXT                              NOT NULL XMLTYPE STORAGE BINARY
    PARENTID                                           VARCHAR2(100)
    DOCUMENT_ID                               NOT NULL NUMBER(20)
    SQL> CREATE INDEX eventschema.idx ON eventschema.event(parentid);
    Index created.
    SQL> CREATE INDEX EVENTSCHEMA.eventXml1 ON EVENTSCHEMA.EVENT (EVENTXMLTEXT)
    INDEXTYPE IS XDB.XMLIndex
    PARAMETERS (
    'XMLTable eventXmlTable ''/ObjectEvent''
        COLUMNS action VARCHAR(15) PATH ''action''
    ');  2    3    4    5    6 
    CREATE INDEX EVENTSCHEMA.eventXml1 ON EVENTSCHEMA.EVENT (EVENTXMLTEXT)
    ERROR at line 1:
    ORA-29958: fatal error occurred in the execution of ODCIINDEXCREATE routine
    ORA-01031: insufficient privileges BANNER
    Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production
    PL/SQL Release 11.2.0.1.0 - Production
    CORE    11.2.0.1.0      Production
    TNS for Linux: Version 11.2.0.1.0 - Production
    NLSRTL Version 11.2.0.1.0 - ProductionAny help is appreciated!
    Thanks!
    -- Daniela

    Are you really really sure... because the following works with the XMLTAB xmltype table still in place in the DANIELLA schema...
    SQL> connect daniella/daniella
    Connected.
    SQL> select segment_name, segment_type, tablespace_name from user_segments;
    SEGMENT_NAME                                       SEGMENT_TYPE    TABLESPACE_NAME
    XMLTAB                                             TABLE           USERS
    EVENTXMLTABLE                                      TABLE           SYSTEM
    TABLESPACE_QUOTA_TEST                              TABLE           SYSTEM
    SYS_IL0000020443C00003$$                           LOBINDEX        USERS
    SYS_C007115                                        INDEX           USERS
    SYS20491_20492_OID_IDX                             INDEX           SYSTEM
    SYS20491_20492_RID_IDX                             INDEX           SYSTEM
    SYS_LOB0000020443C00003$$                          LOBSEGMENT      USERS
    8 rows selected.
    SQL> drop index eventXml1 force;
    Index dropped.
    SQL> connect / as sysdba
    Connected.
    SQL> CREATE INDEX daniella.eventXml1 ON daniella.xmltab(object_value)
      2   INDEXTYPE IS XDB.XMLIndex
      3   PARAMETERS
      4   ('XMLTable eventXmlTable (TABLESPACE USERS)
      5     ''/ObjectEvent''
      6     COLUMNS
      7        action VARCHAR(15) PATH ''action''
      8   ');
    Index created.
    SQL>  select segment_name, segment_type, tablespace_name from dba_segments where owner='DANIELLA';
    SEGMENT_NAME                                       SEGMENT_TYPE    TABLESPACE_NAME
    XMLTAB                                             TABLE           USERS
    EVENTXMLTABLE                                      TABLE           USERS
    TABLESPACE_QUOTA_TEST                              TABLE           SYSTEM
    SYS_IL0000020443C00003$$                           LOBINDEX        USERS
    SYS_C007115                                        INDEX           USERS
    SYS20495_20496_OID_IDX                             INDEX           USERS
    SYS20495_20496_RID_IDX                             INDEX           USERS
    SYS_LOB0000020443C00003$$                          LOBSEGMENT      USERS
    8 rows selected.
    SQL> drop index daniella.eventXml1 force;
    Index dropped.
    SQL>  select segment_name, segment_type, tablespace_name from dba_segments where owner='DANIELLA';
    SEGMENT_NAME                                       SEGMENT_TYPE    TABLESPACE_NAME
    XMLTAB                                             TABLE           USERS
    TABLESPACE_QUOTA_TEST                              TABLE           SYSTEM
    SYS_IL0000020443C00003$$                           LOBINDEX        USERS
    SYS_C007115                                        INDEX           USERS
    SYS_LOB0000020443C00003$$                          LOBSEGMENT      USERS
    SQL> alter session set current_schema = daniella;
    Session altered.
    SQL> CREATE INDEX eventXml1 ON xmltab(object_value)
      2   INDEXTYPE IS XDB.XMLIndex
      3   PARAMETERS
      4   ('XMLTable eventXmlTable
      5     ''/ObjectEvent''
      6     COLUMNS
      7        action VARCHAR(15) PATH ''action''
      8   ');
    Index created.
    SQL> select segment_name, segment_type, tablespace_name from dba_segments where owner='DANIELLA';
    SEGMENT_NAME                                       SEGMENT_TYPE    TABLESPACE_NAME
    XMLTAB                                             TABLE           USERS
    EVENTXMLTABLE                                      TABLE           SYSTEM
    TABLESPACE_QUOTA_TEST                              TABLE           SYSTEM
    SYS_IL0000020443C00003$$                           LOBINDEX        USERS
    SYS_C007115                                        INDEX           USERS
    SYS20499_20500_OID_IDX                             INDEX           SYSTEM
    SYS20499_20500_RID_IDX                             INDEX           SYSTEM
    SYS_LOB0000020443C00003$$                          LOBSEGMENT      USERS
    8 rows selected.Edited by: Marco Gralike on Jul 15, 2011 10:47 PM

  • What tools are needed to create a Flex app?

    Which tool do I need to develop a Flex app?
    Is the Adobe Flex builder really needed?
    Are there any freeware products which allow me to implement
    Flex as well?
    Peter

    Basically you can use any text editor but having code hinting
    can be nice...
    On the Mac you can use TextMate, Eclipse with the FDT plugin,
    Flexbuilder or... even XCode.
    On the PC you can use FlashDevelop which is a very convenient
    IDE, with very good code assistance (Flexbuilder can learn a few
    things here...).

  • Which privileges are needed to create workspace for using existing schema

    Hi,
    until now I always created new workspaces creating new schemas.
    today I decided to use existing schemas. i created an user (default tablespace "users", with a lot of privileges (create any context, create table, etc..)
    i tried to create a workspace.
    now i got an error: no sufficient privileges for tablespace "users".
    how to solve ?
    Leo

    Leo, you might try altering your site preferences using the apex_admin app so that it doesn't try to install the sample/demo applications during workspace creation. Then repeat the provisioning attempt. If it works, then you'll know the error had something to do with sample/demo app creation in the schema. If it still gives you an error we'll know that too.
    Scott

  • What is the need of creating partner functions for sales document type.

    Hi SAP (SD-GURUS),
    Actually we create partner functions  before creating customer ex: sold to party, ship to party, bill to party, and payer.
    These partner functions are going to be copied into sales order while processing sales order.
    Again what is the need of creating partner functions for sales document type.
    Thanks&Regards
    sreenivas peruru

    There are some Partners you could enter at Sales ORder Level. E.g. Sales Person, Employee Responsible, Forwarding Agent, Broker, etc.
    Thus these partner Determination need to be carried out at Sales Order Level & not at Customer Master level.
    So we have to configure partner Determination for various levels e.g. Customer Master, Sales Order, Delivery level etc...
    Hope this helps...
    THanks,
    Jignesh Mehta

  • What is the need of creating New order type in PO

    Dear Experts,
                 I have a doubt in MM, what is the need of creating New Order Types?  Please explain with Business scenario.  Thanking you,
    Regards,
    Elangovan.A

    Hi Elangovan
    Whenever you have a doubt like this...
    --- just verify the config settings for your parameter (order type here).
    ---Also check whether authorizations can be given for this ?
    ---Do you need it for specific analysis ? Are there standard reports/listings available ?
    So, some of the uses of order type are:
    1) What are the parameters controlled by order type ?
    It controls the number ranges and screen layouts etc. So, if you want to have different set of number ranges and different screen settings, then you may need a new order type.
    2) Authorizations can be controlled with order type.
    3) You can also use it in analysis/listings
    Best regards
    Ramki

  • What do I need to create a wireless external hard drive?

    Here's the situation. Hubs and I have just combined households. Between us we have a Macbook Pro laptop (10.5.8. mine), an HP laptop (his), a westell router from century link and 3 external firewire/usb hardrves, one of which serves as my time capsule. We also have a wireless printer.
    One of the external harddrives has my tv shows and movies, downloaded from itunes, stored temporarily since my mac is out of space. We'd like to be able to access our external harddrives wirelessly, so that I can move my itunes library and media files to one and access them wirelessly, have my time capsule hooked up permenantly, and so he could access his moies/shows/music on his external hard drive wirelessly.
    What do I need to create a wireless hookup for my external hard drives that is compatible with macs and pcs, and is relatively easy to do (neither of us are particularly tech savvy, but with the right instructions we can do okay)

    That router you have is really not a router. It is a DSL modem that does have rudimentary router with one port.
    What you really need to do is set the westel into Bridged Ethernet mode, that disables the router function in it, and get yourself a good router that has a USB port to connect a USB drive or printer to it. there may be models that have more then one USB port so you could connect multiple devices to the router.
    It isn't hard making these changes but i won't go into it here. For that go to DSLReports.com and look up your ISP and then the FAQs for your ISP. More then likely someone has posted detailed instruction on how to do what I described above for your model Westel modem and your ISP.
    Or follow Csound1's link to a wireless NAS (Network Attached Storage).
    Good Luck.

  • What programs are needed to build facebook games?

    I want to build a facebook game similar to Monster Legends.   It will have turn based pvp, leader boards, guilds, leveling, rankings, quests, various currencies, teams, jobs/professions, vendors, story modes, customizable characters, customizable skill sets, skill trees, various drop rates eg. low and high chances of certain items dropping from kills.    What programs are required to create a game like this?   Can it be done using only Adobe products?

    omorfidesign wrote:
    I want to build a facebook game similar to Monster Legends.   It will have turn based pvp, leader boards, guilds, leveling, rankings, quests, various currencies, teams, jobs/professions, vendors, story modes, customizable characters, customizable skill sets, skill trees, various drop rates eg. low and high chances of certain items dropping from kills.    What programs are required to create a game like this?   Can it be done using only Adobe products?
    Have you ever developed a game before? I only ask because there is a lot involved in doing so and you listed a long list of features you wish to accomplish. The game you mentioned was developed by Social Point, most of their games are for Facebook as well as a few for iOS, you can begin to see some of the technologies they leverage by looking at their job openings. They mention things such as: Illustrator, Flash, C++, Lua, Java, Air, Actionscript, MySQL, Apache, PHP, Python, PHP, Ruby, etc., and no doubt more is involved as well.
    As you can see a lot goes in to games such as these. If you wish to try and leverage Flash you would need to learn and become very proficient with AS3 if you are not already familiar with it, you would also need to also know or learn backend technologies for your leader boards, etc., Again there is a lot involved with this type of development. Of course I am not trying to discourage you but want you to know the road ahead may involve a lot of learning as games themselves can be very sophisticated applications regarding development.
    Here are some resources for Flash that may get you started if thats the direction you wish to take:
    http://gaming.adobe.com/
    http://gaming.adobe.com/technologies/gamingsdk/
    http://gaming.adobe.com/technologies/flascc/
    http://www.adobe.com/devnet/games/articles/getting-started-with-facebooksdk-actionscript3. html
    http://www.adobe.com/devnet/flashplayer/stage3d.html
    There are other possible alternatives also besides Adobe products such as Corona SDK, etc..

  • What privilege is needed to browse all tables in a schema

    I used SQLPlus to login to DB. When I clicked "table" in the left side window, no tables is shown. What privilege is needed to browse all tables in a schema?
    Thanks.

    SQL*Plus is a command-line interface. There is no side window to click on. Perhaps you're talking about SQL Programmer? Or are you talking about some other tool?
    What user are you logging in as? What user owns the objects? Do you just want to see that the tables exist? Or do you want to be able to see the data as well?
    Justin

  • What commands are needed to configure authentication?

    I'm running the JaasAcn Sample from a DOS prompt on a Win XP client and am getting 'authentication failed'. My Active Directory Realm is AD.COURSEWIZARD.COM and the KDC FQDN is ad.ad.coursewizard.com. It succeeds when I run the 'Sample' locally on the AD server. If I set 'isInitiator=false' in jaas.conf, it succeeds no matter what I enter for username & password. It seems that I need to configure an SPN.
    When setting an SPN, are you declaring that a particular AD user account is associated with a remote service that will be requesting authentication?
    Do I have to also use the 'ktpass' command, even though I'm using a Win client?
    If I use ktpass, but am just testing with a PC on the Inet, should I just use my IP address for domain since I don't have a FQDN?
    Do I need to move the keytab file, created by ktpass, to the client and configure it to use it?
    Does the ADS need to have a krb5.conf or krb5.init file? I don't see one under '../drivers/etc/'.
    What commands are needed in order to configure the server, and client, to authenticate successfully?
    Cheers

    Sorry, I haven't seen a nice JGSS for Windows guide yet.
    Back to your questions:
    1. When setting an SPN, are you declaring that a particular AD user account is associated with a remote service that will be requesting authentication?
    IMHO, setspn creates a service-like alias for a normal AD account, so that GSS style server program can use it as a NT_HOSTBASED_SERVICE name.
    2. Do I have to also use the 'ktpass' command, even though I'm using a Win client?
    ktpass is used at the server side, what you use at client side is unrelated.
    3. If I use ktpass, but am just testing with a PC on the Inet, should I just use my IP address for domain since I don't have a FQDN?
    Porbably not. Anyway, AD works fine with a DNS. If you haven't one, config the AD server as a DNS server.
    4. Do I need to move the keytab file, created by ktpass, to the client and configure it to use it?
    No, keytab is used at server side. The client side uses the native credentials cached in LSA after you login to Windows as an AD account.
    5. Does the ADS need to have a krb5.conf or krb5.init file? I don't see one under '../drivers/etc/'.
    Yes, Java needs the file for both client and server JGSS programs. Normally it should be inside the WINDOWS directory. Somethign weird woun happen if you uses Terminal Services or else. Add -Dsun.security.krb5.debug=true to the Java command line will show you when Java tries to look for this file.
    6. What commands are needed in order to configure the server, and client, to authenticate successfully?
    You need setspn.exe and ktpass.exe on the server to create the SPN and the keytab file. No tools are necessary on the client side, but MS's kerbtray.exe and klist.exe (attention: MS's klist, not Java's) are nice. BTW, a nice network sniffer (say, Wireshark) is also useful.
    I'm not an expert on all these questions, but I cannott resist the temptation to give an answer to each of them.

  • How do I determine what xtras are needed?

    From the searching I have done it appears that xtras equired are mostly trial-and-error.
    Is there an efficient way to determine what xtras are needed for each lindividual movie?
    My programs are divided into a series of sequential movies.  At the end of each movie
    there is a goto statement to launch the next movie.  Does that require me to determine
    xtras for each separate movie? 
    In a perfect world there would be a way for Director to search a  folder for and present an aggregate list of all xtras required for that set of movies.
    If no such method exists, what is the recommended hunt and peck system?

    Thanks for the response, rduane.  But I refer to the procedures as a bit random for the reasons you mentioned in your explanation.  For example, you stated that, "Director will normally add all of the Xtras that you need to each movie as you build it".  And, yes, I know that it does add some automatically.  But, if Director really does "add all of the xtras that you need to each movie as it is built", how could I ever jump to one that is missing a needed xtra?  If it needs it, why wasn't it added when it was built?
    So, that's the reason I mentioned "trial and error", and "hunt and peck".  The system is not reliable in its handling of xtras, or which ones are needed where.  I am familiar with workarounds such as going to each movie and selecting Modify>Movies>Xtras to see which ones Director has added,  But that is all it tells you.  It does not tell you if it has added all the xtras "needed".  And when the error message comes up, it does name the missing xtra, but not which movie needs it.  So, one has to go find the named xtra and copy it over to the Xtras folder. 
    At least, that's what I do to fix it.  But I asked the question because I wanted to know if Xtras handling itself is unreliable, or if I'm doing something incorrectly.
    Dewey-+

  • What wires are needed to connect to a projector

    What wires are needed to connect a macbook to a projector

    A VGA or HDMI cable (Perferably HDMI). But you need mini-displayport connectors to the specific cables.

  • HT1386 Switching from a pc to a Mac. What steps are needed to get my iPhone and iPad to work with my new Mac?

    What steps are needed when upgrading from a pc to a Mac?

    Copy everything from your old computer to your new one.

  • Can any body tell me what is the need of creating shipping Instruction

    Hi Everybody,
    Can any body tell me what is the need of creating shipping Instruction in Material Management & where it is used.
    Menu path -> IMG -> Material Management -> Purchasing - > Material Master - > Define Shipping instruction.
    2. What is the use of Manufacturer Part Profile & how it is used in the SAP system.
    Menu path -> IMG -> Material Management -> Purchasing - > Material Master - > Define Manufacturer Part Profile.
    Thanks & Regds.....
    Rashmi

    This characteristic describes the packaging and shipping requirements that have to be fulfilled by the vendor
    The instructions issued to a vendor regarding the shipment or packing of ordered goods.
    o     CO coil
    o     NE unpacked
    o     NT nylon net
    A manufacturer part profile contains indicators and control parameters, which define the conditions for using (inventory-managed or non-inventory-managed) manufacturer parts in the procurement process.
    The manufacturer part profile specifies how manufacturer parts (MPN materials) can be used in the procurement process.
    The manufacturer part profile is assigned to the master record for a firm's own inventory-managed material.
    Among other things, it determines whether:
    u2022     The MPN material or the inventory-managed material is to be entered in a purchase order
    u2022     Info records can be created for the MPN material or the firm's own material
    u2022     The MPN material can be changed during the procurement process

  • While doing ODI migration what things are needed to be setup in Topology?

    While doing ODI migration what things are needed to be setup in Topology manager ?
    1.Like in Toplogy in file we hive file paths.
    2. In Planning we set Logical schema .
    Not sure about other things.
    Hoping some can can help!!!!!!!!!!!!!!!11

    Lots of things are defined in the topology manager - below is a simplified list
    1) Physiccal Schemas the actual connection information / details related to any technology you plan to use in your ODI integration interfaces
    2) Logical schema, abstracted version of the Physical schema which allows greater flexibility ad reuse across environments
    3) Contexts - how you asssociate logical and physical schemas
    4) Agents - manage the execution of ODI jobs
    When you talk about migration, do you mean moving ODI objects between seperate environments such as Dev and Prod? If so you will need to ensure that all the technologies you use in Dev are present in Prod. The physical layer has been set up with all the correct connection details. Your logical scemas has been set up matching your configuration in the dev environment and you have used the contexts to associate the logical and physical layers as per your dev configuration.

Maybe you are looking for