List normal users and corresponding ops$users in Oracle database in groups

Hi,
We are having Oracle database version 11.2.0.2 on Oracle Ent. Linux 5.1. Basically, according to our requirement, we need to list similar users in the database which are having individual usernames as well as their corresponding ops$usernames (in one query).
Eg. in the database if have users 'xyz' and 'ops$xyz', 'abc' and 'ops$abc', then we need to write a query which can list this users together in groups as below;
xyz
ops$xyz
Similarly,
abc
ops$abc.
Can you help me write a query so that I can list all these similar users residing in my database together.
Also, later I need to find out the roles and privileges assigned to these users once its listed.
Thanks in advance.
~ Rahul

Hi, Rahul,
To ignore leading 'OPS$' when sorting:
SELECT       username
FROM       dba_users
ORDER BY  REGEXP_REPLACE ( username
                        , '^OPS\$'
;'$' has a special meaning in regular expressions, so when you literally want a '$' sign, it has to be "escaped" as '\$'.
Edited by: Frank Kulash on May 17, 2013 9:52 AM

Similar Messages

  • High level user and Low level user

    Hi to all gurus,
    How SAP diffrentiates between high level user and low level users?? I mean if the licences are for 25 high level user and 50 lowevel users, than how SAP will categorize the high level and low level user licenses?? Is there anyway where BASIS person has to specify??
    Thanks and Regards,

    Ask your SAP Account Manager, he will be happy to explain it for you.
    Regards
    Juan

  • List of roles and corresponding transactions and infotypes

    Hi Friends,
    I want to prepare baseline list of roles and corresponding transactions and infotypes that we have access to in Production system. Please let me know easiest way.
    Thanks,
    Ankitha

    In [this thread|Security - HR Authorizations; you'll find a similar question and some suggestions. Once you've got your roles it should be fairly easy to determine which transactions are in them.
    Jurjen

  • Is it possible to setup a BB mailbox for one user and a different user's calendar on the same BB?

    Is it possible to setup a BB mailbox for one user and a different user's calendar on the same BB?

    No, not if your connected to a BES server.

  • About Limited CRM User and CRM Sales User (Stand alone)

    Hi,
    I need to know about the Limited CRM User and CRM Sales User (Stand alone).
    What entry should I create by using these Licences.
    Regards,
    Pushpa

    Hello Anoop.
    Which version of B1 using? 2007/8.8
    There is a documentation about the licenses.
    CRM Sales User (Standalone) was an old systems, and in 8.8 Limited CRM User  is a real license type, on 2007 is means professional user.
    check the license types on
    https://websmp209.sap-ag.de/~form/sapnet?_SHORTKEY=01100035870000707558&_SCENARIO=01100035870000000183&_ADDINC=011000358700001192682007E&
    Did you tried to set an addon access license?
    Regadrs
    J
    Edited by: János Nagy on Jun 23, 2010 5:14 PM

  • SSL certificates and Web Services Usage inside Oracle Database Questions!

    We have implemented a specific business logic using PL/SQL for our client, so we open a file and process each line of this, doing something in the Database and also call a Web Services (Service1) using UTL_HTTP package. Service1 runs in a Windows 2008 Server in the DMZ as Database server.
    Service1 is already working, and we can call the service from PL/SQL without troubles.
    However, according with security client's policies they requires all Web services be consumed via https including Service1, so we must to follow the procedure established for Oracle in order to enable the calling of service1 via https from the Database.
    Our client's DBA and IT Team are concerned about two subjects before to continue to follow the certificate installation:
         - SSL Certificates:
    1- Can installed certificates in the Database put in risk the stability of the database?
              2- Can installed certificates in the Database generate performance issues?
              3- Can installed certificates reloading the Databases?
              2- Can installed certificates in the Database generate security issues?
         - Web services:
    1- Can web services calling from the Database put in risk the stability of the database?
    2- Can web services calling from the Database generate performance issues?
    3- Can web services calling from the Database generate security issues in the DMZ?
    Could you please give us any clues, about the possible negative impact related with the SSL certificates and Web Services Usage inside Oracle Database, if it’s the case this impact exists?.
    Those are the links describing the procedure mentioned above.
    1 -http://www.kotti.es/2009/11/oracle-wallet/
    DB: Oracle 9i.
    Average number of lines in file: 300
    Periodicity: Twice at day.

    Thiago:
    You are correct in that there should be no problem interacting with a Web service that has an HTTPS endpoint as long as you create a wallet and specify it when you make your UTL_HTTP calls, like the PayPal example.
    I am not aware of a PL/SQL utility to create a XMLDsig Standard message, but if you find some Java source out there that does it, you may be able to follow a technique I used for a similar use case:
    http://jastraub.blogspot.com/2009/07/hmacsha256-in-plsql.html
    Regards,
    Jason

  • Palm User and Potential BlackBerry User Looking for Info

    I have long been a Palm PDA user and combined that with a 'regular' cell phone.  For a variety of reasons, I am considering a Blackberry Pearl.  I have found it surprisingly difficult to find good information to help me make the decision and I am hoping for some feedback here.
    1 - How difficult is it to transfer my Palm data to the BlackBerry?  In particular, will my extensive collection of Memos on my Palm transfer and be usable in the BlackBerry? Will all notes, included in my Palm address book, transfer to my BlackBerry contacts?
    2 - Does the BlackBerry desktop software function like the Palm Desktop?  Am I able to view and enter information at a desktop PC via the BlackBerry desktop software?
    3 - Can I use the BlackBerry data in other applications?  For instance, can my BlackBerry contacts be used to create mailing lists in Word or Excel?
    4 - What does the BlackBerry allow me to do with data?  Can I customize calendar entries with colors or categories? Do I have the ability to format text using color, bolding, underlining, etc.?
    5 - Can I download and substitute third party apps for the BlackBerry apps, the way I can in Palm?
    6 - My email client is Outlook, but my email service is provided by Google Apps.  Any glitches there?
    7 - Will BlackBerry sync to Outlook on my desktop or to Google Apps?  Or is it my choice?
    8 - What frustrations may I encounter? In other words, what does the Palm do (or do better) that the BlackBerry does not (or does not do well)?
    9 - How will my expectations be exceeded?  What does BlackBerrry do (or do better) that Palm does not (or does not do well)?
    Thanks so much for any assistance and advice.
    Mitch

    1: Not difficult, there is a Device Switch Wizard availible in the Dektop Program for BlackBerrys. 
    2: No, the BlackBerry Desktop Software does not function like the Palm Desktop. You can sync it with Outlook or Lotus. 
    3: I am not sure what you mean by that. But you can sync the contacts to your desktop also in a .csv file and create mailing lists through that. 
    4: The BlackBerry calendar is different then the Palm's. It does not allow you to customize calendar entries with colors. But there are 3rd Party Calendars availible. The well known Palm-Calendar called Agendus will apparently soon be availible for BlackBerry.
    5: Yes, 3rd party apps are on the rise at the moment; not yet as many as for Palm but there are many utilities and applications availible that improve the OS.
    6: Google Mail also works with BlackBerry.
    7: Choice
    8: Palm has a better built in calendar; no doubt about that. Some functions are missing in the BlackBerry OS but for most of them there are utilities availible for download (for $). Overall I would definitely recommend the BlackBerry devices. I changed from a Treo 680 in December and did not regret it at all! You always have to get used to new devices but with the BlackBerry it is very easy to get used to!
    9: Push eMail, better Browser, faster System, more Filespace, newer OS, nicer UI, easier to handle with the navigation Ball, no Touchscreen that can break, better built, newer hardware... there are many things, buy one try it!
    Hope it helps. 
    If your question was answered, please accept it as a sollution and / or give Kudos ;-)
    Use the Search Field first! Maybe the question you want to ask already exists!

  • How to export a user and their schema from one 10g database to another?

    Hi,
    I would like to export a user and their entire schema from one 10g database to another one. How do I do this?
    thx
    adam

    If you want to export a user and the schema owned to the user, and import to the same user in a different database, or a different user in the same database, you can use the exp and imp commands as described in the Utilities manual.
    These commands are very versatile and have a lot of options - well worth learning properly. To give you a simplistic shortcut, see below - I create a user 'test_move', create some objects in the schema, export, create a new user in the database 'new_move' and import.
    oracle@fuzzy:~> sqlplus system/?????
    SQL*Plus: Release 10.2.0.1.0 - Production on Sat Mar 11 21:46:54 2006
    Copyright (c) 1982, 2005, Oracle.  All rights reserved.
    Connected to:
    Oracle Database 10g Express Edition Release 10.2.0.1.0 - Production
    SQL> create user test_move identified by test_move;
    User created.
    SQL> grant create session, resource to test_move;
    Grant succeeded.
    SQL> connect test_move/test_move
    Connected.
    SQL> create table test (x number);
    Table created.
    SQL> insert into test values (1);
    1 row created.
    SQL> exit
    Disconnected from Oracle Database 10g Express Edition Release 10.2.0.1.0 - Production
    oracle@fuzzy:~> exp system/????? file=exp.dmp owner=test_move
    Export: Release 10.2.0.1.0 - Production on Sat Mar 11 21:48:34 2006
    Copyright (c) 1982, 2005, Oracle.  All rights reserved.
    Connected to: Oracle Database 10g Express Edition Release 10.2.0.1.0 - Production
    Export done in AL32UTF8 character set and AL16UTF16 NCHAR character set
    About to export specified users ...
    . exporting pre-schema procedural objects and actions
    . exporting foreign function library names for user TEST_MOVE
    . exporting PUBLIC type synonyms
    . exporting private type synonyms
    . exporting object type definitions for user TEST_MOVE
    About to export TEST_MOVE's objects ...
    . exporting database links
    . exporting sequence numbers
    . exporting cluster definitions
    . about to export TEST_MOVE's tables via Conventional Path ...
    . . exporting table                           TEST          1 rows exported
    . exporting synonyms
    . exporting views
    . exporting stored procedures
    . exporting operators
    . exporting referential integrity constraints
    . exporting triggers
    . exporting indextypes
    . exporting bitmap, functional and extensible indexes
    . exporting posttables actions
    . exporting materialized views
    . exporting snapshot logs
    . exporting job queues
    . exporting refresh groups and children
    . exporting dimensions
    . exporting post-schema procedural objects and actions
    . exporting statistics
    Export terminated successfully without warnings.
    oracle@fuzzy:~> sqlplus system/?????
    SQL*Plus: Release 10.2.0.1.0 - Production on Sat Mar 11 21:49:23 2006
    Copyright (c) 1982, 2005, Oracle.  All rights reserved.
    Connected to:
    Oracle Database 10g Express Edition Release 10.2.0.1.0 - Production
    SQL> create user new_move identified by new_move;
    User created.
    SQL> grant create session, resource to new_move;
    Grant succeeded.
    SQL> exit
    Disconnected from Oracle Database 10g Express Edition Release 10.2.0.1.0 - Production
    oracle@fuzzy:~> imp system/????? file=exp.dmp fromuser=test_move touser=new_move
    Import: Release 10.2.0.1.0 - Production on Sat Mar 11 21:50:12 2006
    Copyright (c) 1982, 2005, Oracle.  All rights reserved.
    Connected to: Oracle Database 10g Express Edition Release 10.2.0.1.0 - Production
    Export file created by EXPORT:V10.02.01 via conventional path
    import done in AL32UTF8 character set and AL16UTF16 NCHAR character set
    . importing TEST_MOVE's objects into NEW_MOVE
    . . importing table                         "TEST"          1 rows imported
    Import terminated successfully without warnings.
    oracle@fuzzy:~>                                                       If moving between databases, remember to set the SID properly before the import. If keeping the same userid, skip the from/to stuff in the import.
    There are many variations on the theme ...
    You can simplify this. You can select tables individually. You can use a parameter file. You can transport all the constraints and data. You can skip the data and only move the definitions. You can get some help (imp/exp help=yes).
    And, if it's all 10g, there is a new and improved facility called expdp/impdp (dp = data pump) which has a lot more capability as well, including direct transfer (no intermediate file) together with suspend/restart. Also documented in the Utilities manual.

  • Import all users and their objects without doing full database import

    Hi Guys,
    I have a task to that involves Importing all existing users and their objects in production to the test database without doing a full database import - Please how do i do this?
    Pls i need your help urgently.

    SQL> select * from v$version;
    BANNER
    Oracle Database 10g Express Edition Release 10.2.0.1.0 - Product
    PL/SQL Release 10.2.0.1.0 - Production
    CORE 10.2.0.1.0 Production
    TNS for Linux: Version 10.2.0.1.0 - Production
    NLSRTL Version 10.2.0.1.0 - Production
    I tried to import objects and data from a user from a FULL dump file. File was created with the following command:
    server is: SQL*Plus: Release 10.2.0.1.0 - Production on Wed May 26 15:34:05 2010
    exp full=y FILE="full.dmp" log=full.log
    Now I imported:
    imp file=full.dmp log=full.log INCTYPE=SYSTEM
    imp fromuser=user1 file=full.dmp
    Results: not all the user procedures have been imported:
    SQL> select count(*) from user_procedures;
    the Original
    COUNT(*)
    134
    the current:
    select count(*) from user_procedures;
    COUNT(*)
    18
    I also tried these alternatives:
    exp tablespaces="user1_data" FILE="user1.dmp" log=user1.log
    exp LOG=user1.log TABLESPACES=user1_data FILE=user1_data.dmp
    exp LOG=user1owner.log owner=user1 FILE=user1owner.dmp
    expdp DIRECTORY=dpump_dir1 dumpfile=servdata_pump version=compatible SCHEMAS=user1
    impdp directory=data_pump_dir dumpfile=servdata_pump.dmp :
    ORA-39213: Metadata processing is not available
    SQL> execute dbms_metadata_util.load_stylesheets
    BEGIN dbms_metadata_util.load_stylesheets; END;
    ERROR at line 1:
    ORA-31609: error loading file "kualter.xsl" from file system directory
    "/usr/lib/oracle/xe/app/oracle/product/10.2.0/server/rdbms/xml/xsl"
    ORA-06512: at "SYS.DBMS_METADATA_UTIL", line 1793
    ORA-06512: at line 1
    file kualter.xsl does not exist in XE !!
    imp owner=user1 rows=n ignore=y
    imp full=y file=user1_data.dmp
    imp full=y file=full.dmp tablespaces=user1_data,user1_index rows=n ignore=y
    So, I do not understand why user1 objects are not imported:
    see this part of the first import log:
    Export file created by EXPORT:V10.02.01 via conventional path
    import done in US7ASCII character set and AL16UTF16 NCHAR character set
    import server uses WE8ISO8859P1 character set (possible charset conversion)
    . importing SYS's objects into SYS
    . importing USER1's objects into USER1
    . . importing table .........................
    why only 18 rows?
    if you have an suggestion, you are welcome, as I do not have any other idea...
    ren
    Edited by: ronpetitpatapon on May 26, 2010 12:38 PM
    Edited by: ronpetitpatapon on May 26, 2010 12:41 PM
    Edited by: ronpetitpatapon on May 26, 2010 1:03 PM

  • Business Users and Personal Skype user accounts

    Hello
    I would like to know  whether it is possible to call business users to personal skype users.
    Thanks
    Jerome

    Move the library to the /Users/Shared/ folder, go into each user account, launch iTunes with the Option key held down, and choose that library.
    (111791)

  • Difference between Professional User and Limited Professional User?

    SAP Members.
    Hi \ Salam,
    I want to know the difference between a Professional User and a Limited Professional User. Why do we create them and what are the advantages of having them?
    Your input will be highly appreciated.
    Regards,
    Mohammed Ali Khan.

    Yup. It means, in Limited Professional, you can display posted documents, view reports etc. & can create/change through single transaction, e.g. FB60. It is generally provided to management/heads.
    Professional license is a fully functional license. You can use any transaction no matter if its create, change or display
    BR
    PS: The thread is not related to ERP Financials/

  • Can anyone help me with a user login script on php for Oracle database?

    I have a script which somehow is not working well. Can anyone give a good script (for Oracle database) for user login and validation and change password? I will be grateful
    JJZ

    http://www.oracle.com/technology/pub/articles/deployphp/seliverstov_deployphp.html
    http://www.oracle.com/technology/tech/php/htdocs/php-oracle-tutorial.html

  • Parse JSON records using PL/SQL and store the output in Oracle Database.

    We have JSON data/record stored in a Oracle table as CLOB(database version 10g). We need to read/parse this JSON data and recognize the relevant tags and corresponding values in this JSON data and then insert these id/values into a separate Oracle staging table.
    Please let me know if there is any re-usable code available for this.
    We are looking for solution that does this manipulation in pl/sql. If this is not feasible, even Java code approach is fine.
    Regards,
    Kiranmayi.

    Hello,
    PL/JSON | Free software downloads at SourceForge.net
    ERASME - pl/sql library for JSON
    Regards
    Marcus

  • Firefox crashes on start up & only on my user and not other users on same computer

    i have used firefox for many years thn all of a sudden i keep getting the crash reporter, so i can never try safe mode or other things because it crashes on strt up. Th strange thing is whn i log on to my wife user it works fine.

    We're sorry to hear that your Firefox seems to be crashing when you open it. Please perform the following steps to give us a crash report ID that helps us find out more about the cause of the crash.
    #Press the following shortcut to get a Run window: [Windows] + [R]. This should bring up a window that contains a text field.
    #In that text field, enter %APPDATA% and press Enter. An explorer window should open.
    #From that explorer window, double-click on the ''Mozilla'' folder, then double-click on ''Firefox'' and then on ''Crash reports''. Double-click on ''submitted''.
    #Now, you should see a list of files that contain reports. Go to ''View'' > ''Arrange Icons by'' > ''Modified'' to get the most recent files at the top of the window.
    #Open the most recent 5 files with a text editor and copy the IDs.
    #Paste each ID into the reply window on the forums.
    Thanks in advance!
    You can find more information and troubleshooting steps in the [[Firefox crashes]] article.

  • How do I fix a problem group messaging with one non-iphone user and several iphone users?

    My brother switched from an iphone to another smart phone several months ago. The rest of our family all have iphones. When he made the switch, my sister suddenly had problems with group messages going through for him--they went through as imessages for her instead of SMS or MMS. I didn't have that problem until a few days ago. I upgraded to an iphone 6 about a week ago, and group messaging my brother worked fine at first, and then a couple of days ago, suddenly stopped working. If I am texting him singly, it's fine. But in group texts, it automatically sets at imessage.
    He has called apple and his number is completely deregistered with imessage. Does anyone know what else we can try? I have deleted all previous messages that were imessage and deleted and re-entered him as a contact.

    I'm assuming neither of you heard back from anyone?  I'm having the same issue - just in the last few days.  The non-iphone user is not receiving texts from the group message because it is sending as an imessage.  It flipped to imessage randomly last week.  I've tried to delete the group message and restart it; same issue.  Would love to hear how to resolve, Apple!

Maybe you are looking for

  • How do i sync my iphone to my new Macbook pro?

    I recently just purchased a new Macbook Pro and i'd like to be able to sync my iphone to it and use it as my main computer.  Whenever i try to sync it though it says that it has to erase all my content.  This wouldnt be a problem since i backed up my

  • Can't see me iPod in iTunes

    I've installed my new Ipod Nano 2GB on my computer. Also i have installed iTunes. iTunes is running but i can't see my iPod in it and so it isn't possible to export any songs from iTunes to my ipod. Please help me   Windows XP  

  • Weird behaviour in dragging from tilelist to list

    Hi All, I am trying to drag an item from a tilelist into a list but I am encountering this error: TypeError: Error #1009: Cannot access a property or method of a null object reference.     at components::TileListItem/set data()[C:\Documents and Setti

  • WRV200 - Can't connect more than 2 devices

    Hey everybody. I have a WRV200 that usually has 2 wired PCs attached to it. Recently got a PS3 and Panasonic network camera, and I'd like to connect them to the wired interface to keep the wireless from getting bogged down. But, when I connect either

  • Exception in Mass Case Tester

    While using the Mass Case Tester for reporting, I am getting the following exception: *"Think cycle has not stabilised after 20 iterations. This is probably due to a fault in the inferencing listener."* This is coming up when I am trying to generate