Query multiple databases in a single datatemplate?

Hello

In the recent post from Tim to the http://blogs.oracle.com/xmlpublisher/2009/09/formatting_concatenated_dataso.html
He wrote:

"If you need to use multiple queries in your report, or in the same database or separate and you need to collect these data in the output, what do you use?"

This means that it is possible to create a datatemplate that returns data from separate databases. How this is done?

For example,.

Db1 say I want to run this query:
Select 1 as record_id_db1, 'a' as data_value_db1, 'DB1' as database of the double

and I want to run this DB2
Select 1 as record_id_db2, 'b' as data_value_db2, 'DB2' as double database

and I want to end with XML that has record_id_db1 = record_id_db2. Is this possible via a datatemplate?

Currently I use data sources concatenated, which is a bit of a pain when creating the layout template.

I hope it's clear.

Thank you
Matt

Hey Matt

Just received an article from this morning multi db data model - http://blogs.oracle.com/xmlpublisher/2009/09/multi_database_data_templates.html

Tim

Tags: Business Intelligence

Similar Questions

  • How to write to multiple databases in a single transaction?

    I have a phisical file that contains several design databases. Now, I try to write in several databases in this type of file in a single transaction. I have made some efforts to achieve but failed. In the documentation of Berkeley, it is said "to ensure that all transactions are resolved (committed or aborted) before closing the database. ', I think that if I close the first database operation, putting the second database can be influenced and files will not correctly put in the second database. How do I do?

    Please check this page of documentation: atomicity. You have also some good examples in:
    DB-4.7.25\examples_c
    DB-4.7.25\examples_cxx
    DB-4.7.25\examples_java

    If it's not helping you, please post a test program.

    Thank you
    Bogdan

  • How to keep multiple databases in a physical file remains open?

    I want to store multiple databases in a single physical file. And I knew that the environment is necessary to do so. I open a database in an environment, set a folder in and retrieved it. Then a different database is open, I put a folder in as well as the return value showed OK (0), but when I try to get the record with some key, the return value is "DB_NOTFOUND. I intrigued me a lot.
    Could you please tell me why this happened?

    The documentation page for opening multiple databases in a single file is here: [opening multiple databases in a single file | http://www.oracle.com/technology/documentation/berkeley-db/db/ref/am/opensub.html]. If it's not helping you to solve the problem, please post a test program.

    Kind regards
    Bogdan Coman

  • How to insert multiple lines using a single query

    Hi all

    How to insert multiple lines using a single query to the emp table?
    I have the number of rows to insert into table x. consumes a lot of time. I tried to insert several lines using a single query, but get errors. I know exactly the query to do this.


    Thank you
    Sunil

    Like this?

    SQL> create table test(id number , dt date);
    
    Table created.
    
    SQL> insert into test values(&a,&b);
    Enter value for a: 1   --- It asked me and I entered 1
    Enter value for b: sysdate  --- It asked me and I entered sysdate
    old   1: insert into test values(&a,&b)
    new   1: insert into test values(1,sysdate)
    
    1 row created.
    
    SQL> 
    

    g.

  • Configuring multiple services in a single instance database

    Dear all,

    I would like to create names from multiple services for a single instance oracle database (10.2.0.3 on IBM - AIX 6.1). I tried to search on the net, read the documentation, as well as on the metalink but couldn't find something relevant to the single instance database.

    Say I have two users, userA and UserB, for which I would like to use the two services (ServA and ServB) to connect to the same database to single instance.

    Any help in this direction is appreciated.

    Concerning

    ALTER system set service_name = 'ServA, ServB. '

    in your tnsnames.ora to designate either service_name = "ServA" or service_name = 'ServB.

    It is very difficult to believe that you can't find this in the documentation, and my suspicion is that you it didn't look at all.

    -----------------
    Sybrand Bakker
    Senior Oracle DBA

  • APEX 4.2.6 Upgrade with unique ORACLE_HOME supporting multiple databases

    We have a single server (Solaris) with a single ORACLE_HOME supporting multiple databases (all the 11.2.0.3 with APEX 3.0.2 installed).  A new database was created here just to make the development of the APEX.  It must be upgraded to APEX 4.2.6.  None of the old databases use APEX.  Upgrading replaces $ORACLE_HOME/apex.  What is the upgrade on the pre-existing database?  They will also release APEX upgraded?  Thank you.

    Hi Michael,

    If I understand your question, you want to upgrade APEX in the instance of a database. Fix?

    The upgrade of APEX can be done in a database without affecting other databases. Simply run the apexins.sql script in the database when you use APEX.

    Regarding the images in your $ORACLE_HOME/apex, it depends on the configuration of your Web server. You can configure your webserver (ADR, OHS, EPG) to get the images in the same directory or in another.

    See: http://docs.oracle.com/cd/E37097_01/install.42/e35123/toc.htm

    Francis.

  • Is it possible to have multiple databases in a server?

    Hello:

    I have a quite stupid question, but it makes me doubt.
    Is it possible to have multiple databases in an Oracle Server? Are there so many bodies serving multiple databases on the Oracle server.?

    Thanks in advance

    Published by: user12229399 on 14-mar-2012 01:29

    Hello

    Yes, it's more than possible to have multiple instances on a single server.
    You can also have multiple versions (10g, 11g) on a single server.

    This means that you have several instances, i.e. multiple binary running oracle. You can also separate your data on a level diagram, i.e. a single instance serving multiple schemas.

    HtH
    Johan

    Published by: Johan Nilsson on 14 March 2012 01:31

  • Start up problem when having multiple databases on the machine

    Start up problem when having multiple databases on the machine:

    I installed two databases.

    When I stop the database and try to start using

    Startup pfile ='... location... " ;

    I get ora-12514: TNS: listener is not currently know of service rquirest in connect descriptor

    When I try again after 3 seconds, I get a new error, ora-01041: internal error. Hostdef extension doesn't exist

    Stop and start gave no problems when I had a database. Why I get problems when I have two databases?

    I use: show the pfile parameter. SPFile; to make sure that I have the right parameter locations, the error should not be the location.

    I never installed two databases on a single machine, then perhaps that I make mistake of a first - timer.

    Anyone know how to get this working, i.e. start and stop DB without problems?

    The oracle 11 GR 2 on Windows 7 64 bit, everything works normally.

    Thank you
    Ayman

    Published by: aymanzone on June 15, 2011 09:27

    aymanzone wrote:
    My oracle_sid is set to the name of one of my databases

    echo % oracle_sid %

    shows me the name of my first database.

    Still does not.

    When I start the services of two databases by using Services, I can connect and run queries both the database.

    Published by: aymanzone on June 15, 2011 11:47

    First of all... the Oracle Service for the instance must be started for the DB that you try to connect or start.
    Next... from the command prompt:

    Set oracle_sid =

    sqlplus sys as sysdba

    Startup pfile = 'location of the pfile respective db.

    Now, if you want to start or connect to another DB, which is on the same server (again assuming that the Service is STARTED)...
    From the same command prompt or other session...

    Set oracle_sid =

    sqlplus sys as sysdba

    Startup pfile = 'location of the pfile respective db.

    Published by: Srikanth on June 16, 2011 12:27 AM

  • Multiple database servers question

    Hello

    Forgive me this ignorant question, but can anyone tell
    me how we could go on the use of multiple database servers?

    Just as there comes a time where we could use more of
    Server a web and would need to use a load balancing
    solution, what happens when we'd need more than one
    Database server?

    How should be done on the implementation of this solution?

    Is it possible to have two servers with database the
    same information with a kind of load balancing solution
    in front of it (?) or did a place a few tables in a database
    Server and other tables in the other database server?
    (I have no idea as to how would things.)


    Thanks in advance,


    Joe

    Microsoft SQL allows clusters of SQL databases, so for example two servers connected to a fileshare and a shared virtual address between two physical boxes. Database connections are made to the virtual address which will be then handled by the active node. Because a database is a file (s) on a disk, it can be attached only to a single node at a time if you end up with a cluster of active/inactive.

  • Manually to scan multiple Pages into a single PDF file.

    Gentlemen:

    My gear - 4620 HP all-in-One.

    Problem:

    I prefer to scan multiple pages into a single PDF file and save them on the hard drive manually.

    The ADF is twisting the pages that are saved in the PDF file.

    Please notify.  An upgrade of the software will be available for manual use set up of the

    pages on the glass?

    No other problems with the HP 4620.  I use Windows 7, 64 bit.

    Just reply to your convenience.

    PDF4ME

    PDF4ME,

    Watch it again once and document Scanning how-to - for Windows 7, I don't see that Preview Scan must be turned on to scan several pages.

    You can check again to see if you can get this works by following the instructions in the document.

    HP Officejet 4620 e-all-in-one printer support - scanning - Windows 7

    Click on the thumbs-up Bravo !

    It's a nice way of saying 'Thank you' for help.

    While I strive to reflect best practices of HP, I do not work for HP.

  • HP Deskjet 2540: Cannot scan multiple pages into a single PDF for printer Deskjet 2540 Windows 10

    I'm scanning several pages (5) in a single document.  I followed the instructions in the other answers to the questions - I chose the type of pdf file, I chose a less than 300 DPI resolution (I use the default value of 200 dpi), and I clicked on Preview (and not scan).  However, there was no option 'Add' page when you preview is posted.

    I don't know that I've scanned multiple pages in a single document, following the intructions of same, before moving on to Windows 10.  It is no longer possible with Windows 10?

    Thank you.

    Is this program, the program of HP that was loaded with the drivers and full software?

    You should have something like this with a sign at the 07:00 position.

  • HP5610xi: Using a HP 5610xi, how can I scan multiple pages into a single file?

    Using a HP 5610xi, how can I scan multiple pages into a single file?

    Hello

    Thank you for using the HP Forums.

    Can try this software:

    HP extended Scan

    FTP://FTP.HP.com/pub/scanners/HPScanExt/HPScanExt.msi

    Once it has downloaded and installed, go to start > all programs > HP > HP Scan extended > Run "HP Scan extended.

    This relevant resource will show you how to scan multiple pages into a single file:

    HP Officejet Pro 6960 series: scan a document of 6 pages 2 sides using the ADF

    Let us know if it works!

  • Track of multiple graphs on a single diagram of waveform with dynamic data types

    I'm putting multiple charts on a single diagram of waveform and data contract error. I was wondering if it has something to do with the fact that the dynamic data is used (I have had no problem with other types of data in the past). Does anyone know how to fix this? I have attached the following .VI. There will be a lot of. Live on the bottom which does not load, but they are not related to this problem.

    Thank you!

    Brian

    I don't know what you're doing now, but a part of your origianl code is simply ridiculous. Your DAQ assistant takes a single point. You convert that into an array. If you had converted into a scalar value (which is) first place, your graphics update would have been fine.

    If you want to remove the DAQ Assistant, and then select generate DAQmx code. You'll be a little more closely, but it seems that it generates a NChan DAQmx Read 1Samp instead of a 1Chan 1Samp DAQmx read.

  • HP Envy 4502: Scanning of multiple Documents in a single file on Mac OS 10.6/HP Envy 4502

    Can figure out how to scan multiple documents in a single file. I looked at the previous questions and answers, but I don't see a menu drop-down, click on when I select PDF. Have no idea how to proceed.

    Hi @JaneDeere,

    Welcome to the HP Forums!

    I noticed that you are trying to scan multiple documents in a single file on Mac OS 10.6/HP Envy 4502. I'm happy to discuss this issue for you!

    Please, try the steps in this guide, How to scan (OS X 10.6). Choose Scan with HP software, scroll and select, how to scan an original of several page in one file, and follow the instructions.

    I hope this is the answer you are looking for!

    "Please click the Thumbs up icon below to thank me for having responded."

  • scanning multiple pages to the single PDF using HP ENVY 4500

    The guide says scan of the computer (as opposed to scanning from printer).  I do that and still can't scan multiple pages into a single PDF file.  Is it still possible?

    Hi griff0530,

    I understand that you want to scan multipage documents into a single .pdf file using your HP Envy 4500, yes it is quite possible.  When you use the HP software on your computer, follow the steps below:

    1. loading the document.

    2. click on scan . An overview of the analysis is displayed (by default).

    Important : the Preview Scan function must be enabled for scan multiple pages into one file documents. Additional pages from the original are added for the single file in the Scan preview window.

    3. in the scan preview is displayed, do one of the following actions:

    Click the sign Plus () on the left side of the window to scan additional pages. If you do not use an ADF, you must load the next page of the document on the glass of the scanner to add to each additional page.

    4. click on Save to capture the scanned file, but leave open the HP Scan.

    5. click on done to capture the scanned file and close HP Scan.

    I found this great information here: how Scan: Windows 7

    If you are using any other operating system, it's ok the same steps apply. I hope that's what need you!

    Thank you

Maybe you are looking for

  • HP Pavilion p2-1033w desktop PC

    very well so it's my parents computer and I am trying to fix it but about everything what happens is a black screen and it says error no startup disk is detected or the drive failed I tried the ctrl alt del, but it return me to the screen black with

  • Windows 7 update error KB976321

    I tried several times to install this update, but it will not be installed. Help, please. Operating system: Windows 7 (one that came on the computer, it's a month) I don't have something like Limewire or any other thing downloads like this.

  • Create new account my admin account disabled.

    Original title: missing account Hi all I tried to make another account on my windows pc, I did ok but unfortunately when I created the new accout it somehow automatically 'disabled' my administrator account and is no longer presents itself as an opti

  • Installation HP 8600 with HP 8500 installed

    HP 8600 Pro installed on a system (W7 64-bit) that already a HP 8500 pro is installed?  Or. 8500 must be uninstalled everything first?  Any special considerations?  TKS

  • BlackBerry using mixture on an iPad software

    Hi I have the new passport of blackberry unfortunately up to now that I only managed to connect the passport with the iPad using the mixture application even though I see the Passport on my iPad