Cross-application

Hello
I have this request:

select owner, object_type, count(*)
from dba_objects
where owner='TOM'
group by object_type,owner
union all
select owner, object_type, count(*)
from dba_objects
where owner='SAM'
group by object_type,owner
order by 1,2

I want to write the same query but with the below output:

OWNER_TOM   OBJECT_TYPE           COUNT(*)   OWNER_SAM   OBJECT_TYPE        COUNT(*)                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        
----------- ------------------- ----------   ----------- ------------------- ----------                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        
TOM        FUNCTION                   74    SAM        FUNCTION                   174                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        
TOM        TYPE                        17   SAM        TYPE                        16                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        
TOM        INDEX                      500   SAM        INDEX                      533                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        
TOM        SEQUENCE                   149   SAM        SEQUENCE                   141                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        
TOM        TABLE                     2111   SAM        TABLE                     2024                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        
TOM        LOB                         22   SAM        LOB                         34                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        
TOM        PROCEDURE                  222   SAM        PROCEDURE                  519                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        
TOM        PACKAGE                     33   SAM        PACKAGE                     73                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        
TOM        SYNONYM                      1   SAM        SYNONYM                      4                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        
TOM        DATABASE LINK                2   SAM        DATABASE LINK                3


Thanks in advance!

Etbin:

I had this similar request but I wasn't too sure how to get all the lines by "holder."  I thought of the individual lines, but shaped PIVOT would suffice.  Only to learn PIVOT

SELECT *
  FROM (
        SELECT owner
             , object_type
             , COUNT(*) AS obj_cnt
          FROM all_objects
         WHERE owner = 'TOM'
         GROUP BY object_type
                , owner
         UNION ALL
        SELECT owner
             , object_type
             , COUNT(*) AS obj_cnt
          FROM all_objects
         WHERE owner = 'SAM'
         GROUP BY object_type
                , owner
         ORDER BY owner ASC
                , object_type ASC
       ) t1
PIVOT (SUM(t1.obj_cnt) FOR owner IN ('TOM' AS OWNER_TOM, 'SAM' AS OWNER_SAM))
ORDER BY 1 ASC;

Result set (data are disabled, that I use in MY scheme of work users, but he gets to the general notion of what the OP asked)

Tags: Database

Similar Questions

  • BlackBerry Smartphones KB24874 ' completed Application: MPTT refused approval for communication cross-application. "is displayed on the BlackBerry smartphone

    1st, I started having issues, try to connect to my voicemail with T - Mob. I called them, they had to re - setup my voicemail and (update of the settings for my Blackberry to connect properly saying this would happen over a period of 4 hours). They got my answering machine until tonight here. Later this week I get a notification there are applications that have are updates available, so I go to the app world. Things a then from bad to worse - apps I tried to update, new to download and try checking 'My World', I started having the (40760 out of line device) and another code error telling me to connect? >

    Do a battery pull and when the phone back up I get error message "completed Application: MPTT was denied permission to cross-application communication.'"

    My phone is an unlocked Tour 9630 from Verizon, and I have a monthly plan with TMobile, including the data packet.

    Lookiong after this error code (KB24874) it leads me to believe that there is some kind of conflict with the "push to talk" Service Verizon which is not supported by T-Mobile. This problem started when I called T-Mobile to the difficulty of voicemail and they have really no incentive to help me because I have an unlocked phone that they do not initially sell for me...

    It is a basic app and I can't remove it... Can I disable or restrict its permissions to stop this conflict? Is there anything I can do wireless or a parameter to change since I don't have a computer at home - only at work?

    And he says I have to contact Blackberry technical support for help on this... Try to find a way to contact the Blackberry Support basically sent you here on the forums...

    Oh wise and powerful Blackberry Guru and Experts here - can someone help me?

    YAY! I fixed it! I got tothinking on these permissions and I went back to them and reset them to "refuse" to "default" (who put them to 'allow') and attempted to access app world and it worked - everything worked!

    MPTT is the name of the libraries in the application 'push to talk' and I guess it still needs to set to 'allow' in same permissions if the app is not supported by TMobile.

    Thanks for the forums. Even if no one responded, have a place as it has helped me to analyze my own of all the posts that I have sought.

    Hope this helps someone if they have the same problems a day

  • C research; ------Player for my lost data / Hacking of Windows Live Mail. Is MS Message Store the answer?

    The last two years of data storage of email records Live disappeared.  Checking records of storage on the C:\ cross Application data\Microsoft\Windows Live Mail but its all old stuff.

    There is a folder under Windows Live Mail backup that contains \new which shows the base of messages Mail.MS to 5 MB.  Surprisingly he cannot open Windows does'nt know the program which created it.
    How to open and this might be where my lost data?
    Any advice much appreciated.
    Nick

    Hello

    The question you have posted is related to Windows Live, and would be better suited in the Windows Live forum. Please visit the link below to find a community that will provide the support you want. http://windowslivehelp.com/

  • want to make a request that run on two operating system blackberry 7 as well as 10

    Hello

    I'm new to the development of blackberry and want to created the cross-application which runs on blackberry, 7, as well as blackberry 10?

    Please tell me what devlopment tool should I use to devloped cross-platform blackberry application 7 and blackberry 10?

    Thanks to anticaption.

    Your only option to do this is to your code based on BlackBerry WebWorks

    https://developer.BlackBerry.com/HTML5/

  • Checking permissions OS6 failing Simulator

    I have an app that I am trying to debug in the Simulator.  At the beginning of the initialization of the application, I call checkPermissions();  Debugging returns constantly to the top and continue in Application has ended, he said: MyApp has been denied permission to "Cross application Communication".

       private void checkPermissions() {
            ApplicationPermissionsManager apm = ApplicationPermissionsManager.getInstance();
            ApplicationPermissions original = apm.getApplicationPermissions();
            PermissionReasonProvider provider = new PermissionReasonProvider();
            apm.addReasonProvider(ApplicationDescriptor.currentApplicationDescriptor(), provider);
            if (original.getPermission(ApplicationPermissions.PERMISSION_DEVICE_SETTINGS) == ApplicationPermissions.VALUE_ALLOW
                    && original.getPermission(ApplicationPermissions.PERMISSION_CROSS_APPLICATION_COMMUNICATION) == ApplicationPermissions.VALUE_ALLOW) {
                return;
            }
    
            ApplicationPermissions request = new ApplicationPermissions();
            request.addPermission(ApplicationPermissions.PERMISSION_DEVICE_SETTINGS);
            request.addPermission(ApplicationPermissions.PERMISSION_CROSS_APPLICATION_COMMUNICATION);
            boolean allowed = ApplicationPermissionsManager.getInstance().invokePermissionsRequest(request);
            if (allowed) {
                return;
            }
            else {
                System.exit(0);
            }
        }
    

    PermissionReasonProvider.java

    import net.rim.device.api.applicationcontrol.ApplicationPermissions;
    import net.rim.device.api.applicationcontrol.ReasonProvider;
    
    public class PermissionReasonProvider implements ReasonProvider {
        public String getMessage(int permissionID) {
            String message = "recieved permissionID: " + permissionID;
    
            switch (permissionID) {
                case ApplicationPermissions.PERMISSION_DEVICE_SETTINGS:
                    message = "Needed to access the current application " +
                            "information for support requests.";
                    break;
                case ApplicationPermissions.PERMISSION_CROSS_APPLICATION_COMMUNICATION:
                    message = "Needed to access the current application " +
                    "information for support requests.";
                    break;
            }
    
            return message;
        }
    }
    

    This should trigger a ControlledAccessException, which you can take and then see instructions for the user.

  • BlackBerry Smartphones google map error

    I downloaded the maps of google, but when clicking on get the following error message "completed application - google maps has been denied"Cross application communication"permission" does that mean? is google maps is not suitable for the bb bold 9700?

    You simply set the application permissions to allow Google Maps communicate.

    Options of--> Applications--> Google Maps--> editing permissions

    There is a menu drop-down labeled Interactions. Press Menu--> expand and define Cross application Communication on "Allow".

    Hope that helps,

    ~ Dom

  • Could corrupt files CS6 be planting my iMac?

    I have by mistake upgraded to El Capitan, while using CS6, and it caused problems since. My iMac would be cut and then turn again, turn off, suite... repeatedly.

    Apple and I did a lot of troubleshooting before I checked the compatibility and materialized CS6 and El Capitan are incompatible.

    I erased from my hard drive and reinstalled 10.6.8 (Snow Leopard) and then used my saved .dmg since when I bought CS6 years ago and resettled. The computer still crashes.

    Even El Capitan damaged my old CS6 files? I'm downloading new files from Adobe and will try to install, but I was wondering if anyone else has had similar problems?

    I strongly suggest that you post your specific questions on the forums of InDesign and Photoshop. This forum is no longer for the installation/uninstallation, purchases and cross-application questions.

  • Error: "Eception TypeError: cannot read property 'getNumFrames" undefined "-when I test Flash/HTML5 in the browser

    I work in Flash / HTML5. When I publish directly from Flash, my project works very well. However if I open the HTML file directly in a browser, (I tested in Chrome and Safari on a Mac) I get this error message: easeljs - 0.8.1.min.js:13 Eception TypeError: cannot read property 'getNumFrames"of undefined a.load @ preloadjs - 0.6.1.min.js:12

    A google search suggested that the code tries to run before the document was loaded - so "undefined". However, I can see that the body of the HTML file tag seems to deal with this (I think) < body onload = "init (); »  ... The init() being the function that includes the Chargers how to control the loading of the file is made etc...

    Also, I get the error:

    XMLHttpRequest cannot load file:///Users/MyLocalPathToMyProject.../images/MyProject_atlas_.json. Original cross applications are only supported for Protocol schemes: http, data, chrome, chrome-extension, https, chrome-extension-resources.

    Who could be responsible for the "undefined".

    Everyone knows about this problem? Can we simply cannot test it locally? Does anyone have a solution?

    Sprite sheets do not work from the local file system. Go to the publication settings and uncheck the sprite sheets.

  • Can I add indesign object styles to my creative cloud library?

    I have an object style that I use on the screenshots in my InDesign documents to give them a shadow and rounded striped black mount.

    I normally keep this style in my template, but once from time to time I like to use in another document which is not based on this model, so I usually have open, copy and paste the screenshot with the object in my new document style and then reapply the style of the object (which is imported) for the desired screenshot.

    I was wondering, with the integration of libraries CC in InDesign, I could save the style of the object directly to the library?
    I noticed that if I drag the screenshot in my CC library, he adds, in the form of a graph (bringing the object style), so basically, all I have to do is to capture the screenshot of my library, place it on the page, delete it and then use the style of the any object that is left behind on my screenshot desired.

    I was just wondering if directly add JUST THE STYLE of OBJECT (like you do with character or paragraph styles) is feasible now. It doesn't seem so, but maybe in future releases?

    Thank you

    Object styles are not moveable in CC libraries. Do not forget, that the function is cross-application (also works with Illustrator CC, CC of Photoshop and other applications). Libraries of InDesign objects are necessarily InDesign only.

    But you have found the best solution: when you drag an InDesign object, it copies an extract file (which contains all styles) and a PDF file in the CC library. An application like Illustrator or Photoshop can set the PDF file, the extract is used when copying to InDesign. It will add the Style to the object if you move it to another InDesign file.

  • doScript in other programs

    I do very little working Photosop and Illustrator.

    Is there an equivalent to doScript in these programs? A quick scan of the DOM doesn't reveal anything useful...

    Substances

    Substances wrote

    > So JS JS of launch is a no-go (use BrindgeTalk or what-have-you). Right?

    Substances, are you trying to achieve? ExtendScript has $. evalFile(), which should be available cross application...

    With InDesign you'll only use doScript to cross linguistic borders or to have these side effects on the undo history.

    Dirk

  • JDeveloper 11.1.1.2.0 - Panel dashboard with data from SQL Server 2008

    Hi all

    I use JDeveloper 11.1.1.2.0 and trying to create a cross-application dashboard. This dashboard would show 2 group of data from an Oracle database (already finished it) and two from the Group of data from a SQL Server 2008 database.

    I managed to install a SQL Server 2008 database locally on my machine. I downloaded the JDBC drivers on the Microsoft site and I have two JAR files:
    * sqljdbc.jar
    * sqljdbc4.jar

    I created a SQL Server login in Control Panel connections JDeveloper and can I query my database successfully.

    I created a new module of the application and define his connection for a JDBC connection with identification information specified on the Connections tab. I then added the two JAR files as libraries in the model project and
    has run the tester Module of the Application. This succesfully shows some records.

    In the draft opinion, I created a new page and dumped the View object in a table. I then go to run the page and get an error related to the drivier JDBC is not found. I read a few posts on add to Weblogic lib files and edit the startup scripts, but can someone give me a definitive solution to work? I also tried to change my Application Module using a data source, but I also have the same problem the Weblogic console (it cannot create a data source for SQL SERVER because it doesn't have the drivers).

    Any help is greatly appreciated.

    Thank you

    The built-in driver MSSQL weblogic.jdbc.sqlserver.SQLServerDriver class is packaged in \wlserver_10.3\server\lib\wlsqlserver.jar

  • Essbase 2nd Instance using backup

    Hello

    Can I use 2nd instance of essbase (after installing essbase on another port on the same server or on another server) to copy the sourcr to the target application and use it as a backup.

    What are the compromise that I do more general backup process.

    No advantage with this or any disadvantage.

    Concerning
    Kumar N

    Arrange the server to backup a copy of the source server with all applications, databases and the remaining directories required for operations on the server.
    Synchronize the entire file of app n/b source and directory server backup system using all the techniques of full/incremental backup
    Synchronize the files essbase.sec and essbase.bak b/w the two servers.
    This synchronization of file system should be done after the two services are stopped.
    Once the two servers are in sync.
    Start the servers and cross-applications and data.

    If Ant thing occurred on the production server, just you need to catch up services and you can use the backup server for the company.
    You must make the necessary configurations such as the interface with upstream and a stream system.
    Once production issues are fixed, you can fall back to production.

    Note: It is good if you don't record health quarterly Server backup even if no problem in production. Then we will know no unexpected problems in setting up the backup server.

  • Questions about integration Event(automatic or half automatic)

    Hi all

    "At the level of the process, integration events used in conjunction with the workflow features allow you to automatically trigger cross-application process based on the modification of data in Oracle CRM On Demand."

    What is automatically "trigger" mean?

    All I know is that when changes (create, update, delete, associate, disassociate) records occurs, the event is stored in a queue. External applications should poll the web services integration event and then do surgery.

    So it's half automatic, reaction of external applications to the event of integration is not in real time.

    So what is "Integration event?

    My point on the integration event queue method, is that it positions the data necessary for an external event without putting a burden on the system. Thus, your analysis is correct, because she wouldn't be in real time but check the queue of waiting every few minutes or so would have little additional processing and you give 'close' results in real time.

  • Disabled applications with marked cross circle around him

    I got the application Parallels on my Macbook Pro. Suddenly, an update alrert came when I tried to launch parallels. I hit accidentally YES. It was updated and now I need to enter the activation key once again, that I do not have access to.

    So, I tried to restore the image of Time Machine application (just app restore but not the restoration of the whole image).

    Now I can see the icon of the parallels application with a gray cicrle crossed on this subject. I can't launch the Parallels. Also I can't get the activation key if I reinstall parallels.

    How to fix the restored application?

    Also another question is, my timemachine showed some images of backups, but when I rebooted my macbook, I lost all my previous bodies timemachine.

    Now, I am in a position to fix my parallels application, but may not be bale to do.

    Please, help me to understand:

    (1) why an application gets this circle crossed out around her? and how to fix it without reinstalling.

    (2) why I lost all my images TimeMachine on restart the Macbook?

    Thanks in advance.

    (1) the version of the application is not supported on your current operating system.

    the latest compatible version is V11

    http://www.parallels.com/products/desktop/?utm_campaign=sitelink & gclid = CIaxlbL3q s4CFQNsfgodtAcIfg

    If you purchased previous versions of the software, the key to series may be obtained by communicating directly with them.

    If you do not have a key that you will need to buy a newer version of the software or to restore your computer to an instance where he worked under your operating system through Time Machine

    (2) you follow the instructions of apples? If so, what are your light

    Use Time Machine to back up or restore your Mac - Apple Support

  • What is the right way to this cross-platform application?

    Hey y ' All

    I am a multimedia application with LV2010 and I am trying to do cross-platform (win and mac os x).

    The I need the feature requires the use of system libraries, I have access to enough similar functions in the two operating systems

    (winmm.dll in windows, coreMidi.framework in mac OS X)

    With the exception of the current system of appeals on the screws will be identical.

    I can do the work of VI in a platform by using the call library function node, but I don't want to have two copies of everything.

    I tried to do sub wrapper VI that puts the call library function node in a case statement and detects the OS but this VI will not executable due to dependencies (will not find the library referenced in one of the cases depending on the operating system you are running)

    Is there any way I can specify what Subvi to load on a project or something to get this issue sorted dependency?

    You want to encapsulate the platform-specific code in a conditional structure disable with a condition for each supported platform.  The symbol of the OS is already defined; see Help for the creation of disable Conditional Structures, which lists the predefined symbols and values.

Maybe you are looking for