Viewing different user's constraints, triggers, synonyms etc.

I have a doubt as to how to view a different user's constraints, triggers, synonyms. If, we have to see a different user's tables, we use the syntax,
select * from username.table_name
provided we have select rights on that table of the user. Similarly, do we need view rights on the other user's indexes.
Please help in solving my doubt as i need it resolved urgently.

do we need view rights on the other user's indexes.No, once the appropriate access to the concerned object has been granted, any indexes on that object (if appropriate) will automatically be used by the database.
Once you have access to the other users tables, the indexes on that table automatically are visible to you.
You could see the objects using ALL_OBJECTS or the ALL_INDEXES dictionary view.

Similar Messages

  • How to view list of all constraints,triggers,procedures ...etc

    hi,
    how to view a list of all the available constraints, triggers, procedures, functions, packages in a database.And how to view its definition ?

    user12222356 wrote:
    And how to view its definition ?If by definition you mean DDL to create it, use DBMS_METADATA:
    SELECT  DBMS_METADATA.GET_DDL(object_type,object_name,owner)
      FROM  DBA_OBJECTS
      WHERE OBJECT_TYPE IN ('TRIGGER','PROCEDURE','FUNCTION' )
    /For example:
    SET LONG 10000
    SELECT  DBMS_METADATA.GET_DDL(object_type,object_name,owner)
      FROM  DBA_OBJECTS
      WHERE OBJECT_TYPE IN ('TRIGGER','PROCEDURE','FUNCTION' )
    DBMS_METADATA.GET_DDL(OBJECT_TYPE,OBJECT_NAME,OWNER)
      CREATE OR REPLACE PROCEDURE "SYS"."SUBPTXT2" (name varchar2, subname varchar2,
    usr varchar2,
                                 dbname varchar2, dbowner varchar2,
                                 txt in out varchar2) is
    status diutil.ub4;
    begin -- main
        diutil.subptxt(name, subname, usr, dbname, dbowner, txt, status);
        if (status <> diutil.s_ok) then
            if (status = diutil.s_subpNotFound) then
    DBMS_METADATA.GET_DDL(OBJECT_TYPE,OBJECT_NAME,OWNER)
                txt := '$$$ s_subpNotFound';
            elsif (status = diutil.s_stubTooLong) then
                txt := '$$$ s_stubTooLong';
            elsif (status = diutil.s_logic) then
                txt := '$$$ s_logic';
            elsif (status = diutil.s_notInPackage) then
                txt := '$$$ s_notInPackage';
            else txt := '$$$ s_other';
            end if;
        end if;
    end subptxt2;
    DBMS_METADATA.GET_DDL(OBJECT_TYPE,OBJECT_NAME,OWNER)
    SQL> SY.

  • Viewing different user's indexes.

    I have a doubt as to how to view a different user's indexes. If, we have to see a different user's tables, we use the syntax,
    select * from username.table_name
    provided we have select rights on that table of the user. Similarly, do we need view rights on the other user's indexes.Please help in solving my doubt as i need it resolved urgently.

    You said "how to view a different user's indexes"
    Do you mean you want to see the details of the index ?
    Provided you have the privileges on the other users table
    you can use
    Select * from all_indexes where index_name = <index_name>
    and owner = <OWNER>
    OR
    Select * from all_ind_columns where index_name = <index_name>
    and index_owner = <OWNER>
    CHeers
    Ashwin N.

  • How to access mail if different users use same email - sent, trash, etc, are not the same in both user's thunderbird. How do I fix that?

    I have different users on my computer, me, spouse, etc. We share the same email. I have thunderbird loaded correctly in one account. In the other account it only grabs the inbox messages, not the sent messages. How do I get it so both thunderbirds work in both accounts on the same computer? Right now I need to switch user to view the sent emails that are sent from the other account.

    IMAP will sync messages, but if your sharing on a single computer you would probably be better off sharing the same profile. It is not as if you will both be using it at the same time. The information in this link should help with that.
    http://kb.mozillazine.org/Moving_your_profile_folder_-_Thunderbird

  • HT204053 i RECENTLY PURCHASED ANOTHER IPHONE.  MY INTERNET IS NOT WORKING.  I JUST CREATED AN APPLE ID.  WHAT'S NEXT?  I NOW HAVE TWO DIFFERENT ACCOUNTS WITH DIFFERENT USER NAMES.  HOW CAN I USE ONLY ONE ACCOUNT FOR ITUNES, ICLOUD APPLE ID ETC???

    I RECENTLY PURCHASED ANOTHER IPHONE.  MY INTERNET IS NOT WORKING.  I JUST CREATED AN APPLE ID.  WHAT'S NEXT?  I NOW HAVE TWO DIFFERENT ACCOUNTS WITH DIFFERENT USER NAMES.  HOW CAN I USE ONLY ONE ACCOUNT FOR ITUNES, ICLOUD APPLE ID ETC???

    Welcome to the Apple community.
    iTunes and iCloud and different accounts, you will need to delete both accounts from your device before adding the new details in their place.
    For iCloud go to settings > iCloud, scroll down and hit the delete button. You can then sign back in using your correct details. For iTunes go to settings >store, tap your account ID and then sign out, you can then sign back in using your correct Apple ID.

  • When I sync my phone I get my husbands phone contact list, apps etc and the same happens when he sync his phone.  It recognizes our phone as different users.  How can I get it to not do that??

    When I sync my phone I get my husband's phone contact list, apps, etc and the same happens when he syncs his phone.  It does recognize our phones as different users so how can I stop this from happening when we sync?

    Did you tick the box in iTunes to sync with the Mac address book?  Are you using the same user account on your Mac, with the same contacts in the same address book?

  • How can I see the Query view created for a different user

    Hi All,
    How can a user see the View of a query created for a different user??
    I would like some info about how to give access ( if it is a access problem) or tell me the steps to do that.
    Regards, Federico

    Hi all,
    Maybe I didn't explain me as i should or maybe you dont know what is a Query View. Lets try again, showing you the steps to open a "Query view".
    This way is from Bex Analyzer (Excel)
    I open the Bex Analyzer and connect to the system -> Open query -> Under "Type" choose "Query View"...this is just a different view of the original query (more or least columns/rows).
    This way is from Bex Web:
    Once you open/execute the query, you have a ComboBox to choose the view (previously saved)
    The problem that we have is that the views created for a user, can NOT be found by other user. The only user who can is the owner.
    Could it be an authorization problem? or is ther any configuration possible to see it?
    Thanks in advance, Federico

  • Alter different users table, i need to add constraint: primary key

    Hi All,
    my oracle database : 10G
    I have a user named rahul and its trying to alter a table of a different user 'biapps_12'
    here is the alter table script that I am firing using user 'rahul' when connected to database 'MDMINT5' : alter table BIAPPS_12.W_PAYMENT_METHOD_D_O add constraint pk_W_PAYMENT_METHOD_D_O PRIMARY KEY (INTEGRATION_ID);
    Oracle error: [ORA-01031: insufficient privileges]
    PS: both these users are on the same database 'MDMINT5'
    2) I have an exclusive privilege which is [alter any table] but still I am getting this error.
    Please help me out.
    Regards
    Rahul

    If the user RAHUL genuinely has ALTER ANY TABLE then that user should be able to run the command you posted.
    Unless the privilege was granted through a role and the statement is being run as part of a PL/SQL block (through EXECUTE IMMEDIATE or similar contrivance). Anonymous blocks count as PL/SQL, and we cannot use privileges granted through roles in PL/SQL.
    Cheers, APC

  • Different Directory views for users

    How can I achieve different directory views on user's phones for different types of users using DCD?
    This is for a Centrex type of service.

    OK. I see this posting which mentions installing the IP Services SDK for such applications.
    http://forum.cisco.com/eforum/servlet/NetProf?page=netprof&forum=Unified%20Communications%20and%20Video&topic=IP%20Phone%20Services%20for%20Developers&CommCmd=MB%3Fcmd%3Dpass_through%26location%3Doutline%40%5E1%40%40.1ddc61e0/0#selected_message
    I find it hard to believe that there is not an easier way.
    Why can't there be a directory-profile setting or a setting in the device profile to group users?

  • Is it possible to have two iTunes programs on one computer to be used by two different users without songs, photos etc. being commingled?

    is it possible to have two iTunes programs on one computer to be used by two different users without songs, photos etc. being commingled?

    Yes.  See Here...
    How to Use Multiple iDevices with One Computer
    Create a New User Account for each User. Then Each user will have their own iTunes library..
    Also... Have a read here...
    https://discussions.apple.com/message/18409815?ac_cid=ha

  • Different User views

    Hi,
    I have a requirement for two different users. User1 gets to enter everything into the database and User2 should only see what is in the database. User1 is ok. But, user2 if I give only select privilege on those tables, form doesn't work because it can't generate a new record. Could you suggest the right way of doing this? Thank you,
    Srilakshmi

    Ok. Let me try again.
    I have a requirement for two different users.
    User1 gets to enter everything into the database and
    User2 should only read what is in the database.
    User1 is ok.
    But, user2 if I give only select privilege on those tables, form doesn't work.
    Could you suggest the right way of achieving this? Thank you,
    Srilakshmi

  • How do I create a new user, move my old files etc over, and delete old user

    This is why I think I need to.
    My computer got hit by lightening, and I may have created a new user account through netinfo rather than system preferences /accounts/+user. Mail used to open twice, but no longer. Now, Safari askes me for my keychain password twice, Spotlight can't find a folder on the computer when the search is restricted to folder and computer, though the folder is there and easyfind finds it, and when System Preferences/Spotlight/Privacy has the hard drive icon added, then deleted, Spotlight still does not find anything. (Yes, everything is backed up, on CD, DVD, and online.) Microsoft Tec Support says
    "Here is a summary of the key points of the case for your records.
    When you contacted us on August 8, you had requested assistance with Microsoft Office 2004, as your installation of the updates was unable to find the correct version of the software to update. After creating a New MAC User, we identified the issue to be with a corrupt MAC User account, and not a Microsoft issue. "
    I believe Microsoft. So, creating a new user was easy.
    But copying files uses up too much hard drive (movies, music), and may miss keychains, preferences, mail, address book, and documents. Since Spotlight no longer works, who knows what is happening. (Yes, I've repaired persmissions, and disk repair. No change). I'm using up my hard drive trying to move files to the new user. If I share files, or put them into a public folder, then delete the old user, will I still have the old user's files in the new user's account? It is not clear to me what I should be trying to do in order to create a new user, move my old files etc over, and delete old user. Thanks.
    My responses will be slow, because I have to drive to town to use the internet. I've ordered a new airport which may take care of that problem. SO be patient.

    Hey -
    I need to do the EXACT same thing, but have no idea how. Has anyone out there done this?
    My situation is a tad different..this is a new Mac (and I'm a brand new Mac user). Tons of querks occur under my original account (videos won't run, Safari won't support certain plug-ins). I spent 6 hours on the phone w/ 4 different Apple Reps and nobody could fix it. A rep finally looked at my MacBook Pro in person today. He created a new account just to see if that would work and under that new account, everything works perfectly fine (no querks, can view video). He tried switching a million settings in my original account to no avail.
    He said to create a new account (as he did) and move my files over to the new account and then go back to the original and delete it. How do you do this?! I can't figure it out! I've got a new account created, but of course it just has the default folders in it w/ the little red icons next to them! Thanks in advance!

  • Sharing iphoto library on the same computer between different users

    Can anyone tell me how (without having to write my own code) I can share photos easily (so I can teach my parents, who know nothing about mac, how to do it) between different users on the SAME COMPUTER?
    I am so frustrated! You can share with anyone else in the world, but when it is on the same computer I can't figure out how to share!

    Hi Mereditty,
    Here are all the links I have for sharing a couple of different ways.
    SHARING IPHOTO LIBRARIES
    Sharing libraries between users on the same local network
    You can also share a library on the same machine between users the same way.
    Sharing libraries between users on the same machine...
    -both users must have sharing enabled in their iPhoto Preferences
    -both users must be logged in and have iPhoto running
    -Remember that you can only view the other library. You can't edit the photos or play the saved slideshows or view the made books or burn them to CD or DVD. The books and slideshows will show up as an album. You can play that album as an "on the fly" slideshow. You can drag images from the sharing library to your library in the source column to import them to your library. You can then edit, add to albums, books, slideshow, etc.
    Sharing links from Apple....
    Sharing your photos between computers
    About shared photos
    Turning off photo sharing
    Looking for shared photos
    SHARING ONE IPHOTO LIBRARY BETWEEN USERS ON SAME MACHINE
    You can try one of these three methods:
    1- Use iPhoto Library Manager-the paid version
    The documentation page will give instructions on how it is done.
    2- Sharing one iPhoto library between several users on one machine
    3- Share an iPhoto Library in tiger Using ACL's
    4- I have also read about ShareAlike
    There is no other info on the site about how it works.
    I strongly urge anyone wanting to try any of the methods for sharing one iPhoto Library folder among more than one user to backup all iPhoto Library folders before attemptin anything.
    Lori

  • How to create a new user in OWB that can only view other user's mappings

    Hello Everyone,
    I am new to OWB and want to know if possible to create different users that can only view other user's mappings without making any changes. Do you know if possible each user can have his own password?
    Thank you for your help!
    Jennifer

    A good starting point would be this blog posting:
    https://blogs.oracle.com/warehousebuilder/entry/build_up_multi-role_development_environment_in_owb
    I seem to recall as well from the OWB Admin class that existing objects in the repository would need to have the security updated if the additional restricted roles are created after tables/mappings/etc. so that they reflect the new security model.
    Also, for individual logins to OWB, each developer would require a separate database login.

  • Sharing Photos: Different Users, Same Computer

    So far, I've tried some suggestions found in other postings, but I still can't share some photo libraries between different users on the same computer. I started an account for my son. Sharing was enabled in both iPhoto Apps. I've tried locating the libraries in a Shared folder and putting them in a folder not associated with a user. Opening a port 8770 in the Sharing/Firewall window didn't change anything either. No matter what, when I open my son's iPhoto and try to Add To Library, some libraries will import and others have a circle with a red line next to them. Those will not import and I can't figure out what the difference is between them. Any thoughts?
    g4 ibook   Mac OS X (10.3.9)  

    Hi chris,
    these are the links I have for sharing. You might want to try the ACL way.
    SHARING IPHOTO LIBRARIES
    Sharing libraries between users on the same local network
    You can also share a library on the same machine between users the same way.
    Sharing libraries between users on the same machine...
    -both users must have sharing enabled in their iPhoto Preferences
    -both users must be logged in and have iPhoto running
    -Remember that you can only view the other library. You can't edit the photos or play the saved slideshows or view the made books or burn them to CD or DVD. The books and slideshows will show up as an album. You can play that album as an "on the fly" slideshow. You can drag images from the sharing library to your library in the source column to import them to your library. You can then edit, add to albums, books, slideshow, etc.
    Sharing links from Apple....
    Sharing your photos between computers
    About shared photos
    Turning off photo sharing
    Looking for shared photos
    SHARING ONE IPHOTO LIBRARY BETWEEN USERS ON SAME MACHINE
    You can try one of these three methods:
    1- Use iPhoto Library Manager-the paid version
    The documentation page will give instructions on how it is done.
    2- Sharing one iPhoto library between several users on one machine
    3- Share an iPhoto Library in tiger Using ACL's
    4- I have also read about ShareAlike
    There is no other info on the site about how it works.
    I strongly urge anyone wanting to try any of the methods for sharing one iPhoto Library folder among more than one user to backup all iPhoto Library folders before attemptin anything.
    Lori

Maybe you are looking for

  • Why is verizon showing more data than I use?

    So i am on a family plan where there is two smartphones each line is billed separate for 2gb each for a total of 4 gb.  According to verizon I have been going over my data.  Yet I watch it carefully with my built-in app and the verizon approved app,

  • Condition in trigger

    Dear All, I wrote a trigger and i used conditions, but it doesn´t work. i use oracle 11g . would you please recorrect it? thanks, if u need i can provide trable information but i just want to correct it syntactically.tnx. i want to check, if the popu

  • My WRT54G only working with ethernet to computer not wirelessly

    I have a WRT54G wireless broadband router. I used to have an ethernet cord from my computer directly to the modem and my sister went online using the wireless signal. I recently changed modems, my sister used the wireless signal for about two weeks.

  • JPublisher error in web service call out with XMLType parameters

    Hi, We need to create a call to a document/literal web service from PL/SQL. I've followed Note 555656.1 of Metalink (step by step and several times) to create it with JPublisher and it works for rpc/encoded but not for document/literal. In this case,

  • DBMS_XMLGEN attributes - HELP!!

    I am using DBMS_XMLGEN to create purchase order xml documents. Nested objects types are used to represent the complex structure required. I know that by using the '@' symbol as a prefix to an attribute name, that field will become an attribute of the