Calculate/Export data between databases

Hi All,
I am stuck up with the below issue.
I have two databases, one is Pdatabase and other is Edatabase.
I have the below 2 members in both databases
ABC
XYZ
My requirement is I want to calculate the ABC (Pdatabase member) where the value should be the SUM of ABC+XYZ of Edatabase members.
Is there a way to use a report script to get the SUM of ABC+XYZ from Edatabase and load it into my Pdatabase.
Output should be as below:
ABC (member of Pdatabase) = ABC+XYZ (members from Edatabase).
Aany Idea??

I would suggest to go with the calculation and not report script and rules file as such complexity is not required for this requirement.
Yes, you can have a member formula. Just tag the member as dynamic calc and give it a go with location alias and your member combination where the data resides.
If you are going with report script and then a rules file, write a report script in source database with member combination for which ABC and XYZ data resides followed by rules file in target database where you add up these two accounts in ABC.
Regards,
YoGesH

Similar Messages

  • Transforming the Raster Data between Databases

    Hi
    I have a Requirement to Import and Export The Raster Data Between Data bases .. Could Any Body Give Me Hint...
    Rajanikanthc

    NedimAT pointed you to the 10g manual. If your database is 11g, please check it out from the 11g manual, Section 3.21 Transferring GeoRaster Data Between Databases:
    http://download.oracle.com/docs/cd/E11882_01/appdev.112/e11827/geor_operations.htm#CIHECFGC
    Depending on your requirements and the source and target database environments, you may also consider using Transportable Tablespace to transfer the raster data, particularly when you want to transfer only part of the database based on queries or cropping areas. Check section 3.22:
    http://download.oracle.com/docs/cd/E11882_01/appdev.112/e11827/geor_operations.htm#CHDGEGHB
    hope this helps
    Jeffrey

  • Export data from database table before database migration

    Hello,
    We are planning to migrate our SAP ERP 6 Ehp4/NW7.01 from Oracle 11.2 to IBM DB2 v. 9.7 database. During test migrations I have established that we spend a lot of time for one particular table (COEP). Because we donu2019t have possibility to archive this table before migration I have an idea to export data from previous years from this table to the file system (using an ABAP report), delete those data from table before migration and then after migration, import back to the database from the file system.
    Does anybody have any concerns or suggestions about this idea?
    Thank you for your answers
    Andrej

    Hello Andrej,
    I strongly do not recommend to do so.
    I am not sure whether technically this could work at all..
    Even it if would work .. In order to really save time, the export and the import would have to be a dirty one (meaning the system is operational and in production). With this there is a high risk to produce inconsistencies on this table.  And you most likely will receive no support if something unforeseen happens and you end with problems.
    Also  your approach (if it should work at all) , would have to be tested thoroughly by you , also protecting the table from any changes.
    I do not believe that this can save any effort compared to implementing advanced migration techniques like table splitting.
    On top, you would go high risk to end with an unsupported system, with not using official migration procedures
    Hans-Juergen

  • Exporting data from database tables to a XML file

    Hi,
    We want to export data from Oracle database tables to an XML
    file. What tool can we use for this purpose, and how do we go
    about it ?
    Can we extract data only from an Oracle8 database, or can we
    extract data from Oracle7.3 databases too ?
    Any help in this regard would be appreciated.
    Thanks
    Dipanjan
    null

    Dipanjan (guest) wrote:
    : Hi,
    : We want to export data from Oracle database tables to an XML
    : file. What tool can we use for this purpose, and how do we go
    : about it ?
    : Can we extract data only from an Oracle8 database, or can we
    : extract data from Oracle7.3 databases too ?
    : Any help in this regard would be appreciated.
    : Thanks
    : Dipanjan
    Start by downloading the XML SQL Utility and make sure you have
    the approriate JDBC 1.1 drivers installed for your database.
    There are samples which will get you going included in the
    archive.
    Oracle XML Team
    http://technet.oracle.com
    Oracle Technology Network
    null

  • Move Data Between Databases

    Dear All,
    I have 2 databases one of them in Egypt and the other in USA.
    I want to transfer data of one schema between the 2 databases.
    I currently use export and import utility to do this action but the size of data is very large so I want an automatic way to do this action.
    what can I use to solve this problem?
    can I use advanced replication or dataguard or what.
    if I use advanced replication data will be transferred through a database link over the internet which will be a very slow operation.
    what can I do,please help.

    Hello Airtifa,
    The main reasons to use a VPN would be
    a) dedicated connection, so more reliable
    b) no or little need to encrypt data, as data doesn't travel across the public Internet
    It should have a positive effect on performance, though you may be suffering from high latency in the network.
    What I'm trying to say is:
    there is not much to tune in a sqlnet connection of whatever type (database links are just ordinary connections), apart from the Session Data Unit, which should be a multiple of the MTU of the network card (so the card doesn't have to fragment packets).
    You are really at the mercy of the (bandwith of the) connection.
    If the connection is slow, the link will be slow.
    If the connection is fast, the link shouldn't pose extra problems.
    Database links aren't slow. Networks can be.
    Also not using the array interface in an efficient way can be a killer.
    Sybrand Bakker
    Senior Oracle DBA

  • Transferring Data between Databases with Character Sets UTF08 and US7ASCII

    Hi,
    I am trying to transfer data from Oracle 10g (character set :UTF08) to Oracle 8i ( character set: US7ASCII). I have tried the transfer using the DBLinks and found that there is no way the data could be transferred from 10g to Oracle 8i.
    The last option available is to use staging database for transfer. The staging database would be Oracle 10g only but the character set would be US7ASCII. I am expecting that since the character set is US7ASCII, this would be able to get compatible with Oracle 8i (US7ASCII). Secondly, Transfer from 10g to staging 10g should also work, since staging 10g would support UTF08 character set.
    Kindly tell me if this option would work or if there is any other way around.
    Thanks
    Nitin
    Message was edited by:
    Nits
    Message was edited by:
    Nits
    Message was edited by:
    Nits

    You possibly have a fundamental problem,which is more important than any technical issues. If your UTF8 (Unicode) database stores non-english characters you will lose these characters when transferring.
    Werner

  • Copying data between databases

    Hi Gurus,
    Is there any way to copy data from one DB to another DB, other than COPY command ?
    My reqt is this. I want to copy data from one DB to another one periodically (weekly basis). I'm trying to create a USER JOB for this and call a PL/SQL proc in the JOB. As COPY is a SQL/PLUS command, I think I can't use it in a DB procedure. Any help is appreciated. Thanks a lot.

    Hi,
    Thanks for the reply. It works now.
    It was my fault while creating the database link. The SQL*NET version was NET8 and I created the DB link with 'USING t:XXX:XXXX'. So the link was using SQL*NET old version and I was getting ora-6401 (Invalid Driver Designation). Now I recreated the link private DB link) and it works fine.
    Thanks for your help.

  • XWRITE to move data between databases - what about block creation?

    Hi, all.
    We have this Essbase script calculating data in one database, and in the end saving data in another database in the same application.
    Data transfer is performed by the XWRITE function.
    Problem is that the Entity dimension, which is common to both databases, is constantly updated.
    Block creation in source is taken care of, but I am a little conserned that data in some cases will not be saved to the target database because there are no active blocks.
    I have two questions regarding block creation in this respect:
    1) Does the XWRITE command create new blocks in the target database?
    2) If I put SET CREATEONMISSINGBLK ON in the script in the source database, will blocks then be created in the target database as well?
    By the way: It's version 11.1.2.1
    Best regards,
    Ann-Margareth

    @XWRITE creates blocks at the target. There is no need to use SET CREATENONMISSINGBLK ON on the source database.

  • Transer data Between database

    Goal:
    Retrieve a list of every user's AD account and apply it in a customized database's table from SQL server.
    Problem:
    Is it possible to do it? If yes, how to do it or what method and programmering language do you need to use in order to achieve the requested result.
    Information:
    - The customized table should retrieve the new data once a day.

    Please refer the below link:
    (The below is how I implemented INCREMENTAL DL PORTING in one of my project, which might help you.)
    http://beyondrelational.com/modules/2/blogs/557/posts/15401/incremental-dl-porting-in-sql-server-querying-ldap-to-get-the-users-belongs-to-a-dl-group-in-sql-ser.aspx
    http://www.codeproject.com/Articles/20074/SQL-Server-Active-Directory-Interaction

  • Is there is any setting for export data from database- datasource

    Hi ALL
    i am using crm 2007 system in there , i had activated opportunities OLTP reports , here but i can not able to get the data in reports , then i check the respective data source in RSA3 it showing zero records,
    is there is any procedure to getting data from data base tables to data source.

    you can follow the same 3.x dataflow eventhough u upgrade.
    the only diff
    3.x - would be emulated DS
    7.0 - RSDS
    3.x - file path declared in infopack
    7.0 - is declared in DS (that would be inherted by infopack)
    Infosource - optional - works fine on both the versions
    creating a new DS, it has to be RSDS .. no way out

  • Export and import UTF8 data between different databases

    Hi,
    I want to know how to do the following:
    export data from database 1 and then import the data to database 2
    I export user, without grants, with table data, without compress extents
    database 1:
    machine: SunOS 5.8 Generic_108528-14 sun4u sparc SUNW,Sun-Fire-280R
    oracle version: 8.1.7
    charset: SIMPLIFIED CHINESE_CHINA.UTF8
    database 2:
    machine: SunOS 5.7 Generic_106541-08 sun4u sparc SUNW,Ultra-2
    oracle version: 8.1.6
    charset: AMERICAN_AMERICA.UTF8
    Question:
    1. how to do it by using exp and imp command?
    2. Before exporting, what NLS_LANG should I set?
    3. Before importing, what NLS_LANG should I set?
    I can export data but got errors when importing as follow:
    Export file created by EXPORT:V08.01.07 via conventional path
    import done in UTF8 character set and UTF8 NCHAR character set
    IMP-00069: Could not convert to environment national character set's handle
    IMP-00000: Import terminated unsuccessfully
    Thanks a lot.
    Regards,
    Kenny

    Hi, Nat,
    Thanks for your post:
    I have tried the following:
    Case 1:
    - set environment NLS_LANG="SIMPLIFIED CHINESE_CHINA.UTF8" in machine 1
    - export data from machine 1
    - ftp the export from machine 1 to machine 2 in binary mode
    - set environment NLS_LANG=AMERICAN_AMERICA.UTF8 in machine 2
    - import the data to machine 2
    Result:
    Export file created by EXPORT:V08.01.07 via conventional path
    import done in UTF8 character set and UTF8 NCHAR character set
    IMP-00069: Could not convert to environment national character set's handle
    IMP-00000: Import terminated unsuccessfully
    Case 2:
    - set environment NLS_LANG="SIMPLIFIED CHINESE_CHINA.UTF8" in machine 1
    - export data from machine 1
    - ftp the export from machine 1 to machine 2 in binary mode
    - set environment NLS_LANG="SIMPLIFIED CHINESE_CHINA.UTF8" in machine 2
    - import the data to machine 2
    Result:
    Export file created by EXPORT:V08.01.07 via conventional path
    import done in UTF8 character set and UTF8 NCHAR character set
    IMP-00069: Could not convert to environment national character set's handle
    IMP-00000: Import terminated unsuccessfully
    Case 3:
    - set environment NLS_LANG=AMERICAN_AMERICA.UTF8 in machine 1
    - export data from machine 1
    - ftp the export from machine 1 to machine 2 in binary mode
    - set environment NLS_LANG=AMERICAN_AMERICA.UTF8 in machine 2
    - import the data to machine 2
    Result:
    Export file created by EXPORT:V08.01.07 via conventional path
    import done in UTF8 character set and UTF8 NCHAR character set
    IMP-00069: Could not convert to environment national character set's handle
    IMP-00000: Import terminated unsuccessfully
    Case 4:
    - set environment NLS_LANG=AMERICAN_AMERICA.UTF8 in machine 1
    - export data from machine 1
    - ftp the export from machine 1 to machine 2 in binary mode
    - set environment NLS_LANG="SIMPLIFIED CHINESE_CHINA.UTF8" in machine 2
    - import the data to machine 2
    Result:
    Export file created by EXPORT:V08.01.07 via conventional path
    import done in UTF8 character set and UTF8 NCHAR character set
    IMP-00069: Could not convert to environment national character set's handle
    IMP-00000: Import terminated unsuccessfully
    database 1:
    machine: SunOS 5.8 Generic_108528-14 sun4u sparc SUNW,Sun-Fire-280R
    oracle version: 8.1.7
    charset: SIMPLIFIED CHINESE_CHINA.UTF8
    database 2:
    machine: SunOS 5.7 Generic_106541-08 sun4u sparc SUNW,Ultra-2
    oracle version: 8.1.6
    charset: AMERICAN_AMERICA.UTF8
    I cannot successfully import the exported data from database 1 to database 2. What is the correct procedure and setting in NLS_LANG in both machines?
    Can I import 8.1.7 exported data to 8.1.6 database?
    Please help.
    Regards,
    Kenny

  • Data synchronization between databases

    Hi,
    This week one of my team accidentally damaged multiple records in one of the production databases, I have a backup of the database prior to what happened.    I need to copy the information in a few tables from the beginning of records (about 10 years ago), to the end of August 2014.   The newer records should remain as they are.
    I was thinking that the best route is to use some sort of tool to synchronize data between databases.
    Do you guys have a recommendation for this sort of work? 
    The databases (production and backup) are ASA 9.
    Best regards,
    Edgard

    Hello Edgard,
    If you have any PowerBuilder in-house the Data Pipeline object might help. Otherwise I'd have a look at Squirrel SQL. I know that can communicate between two databases simultaneously but confess I have never tried it.
    Paul

  • Importing/Exporting data from Microsoft Access

    Hello to everybody!
    I have to create a management software (client-server).
    CLIENT SIDE: ClientS insert data into forms and these data are stored into a database Access (client database). Every month clients send to the server some of the data stored (data of the month!).
    SERVER SIDE: "Server man" receive from clients those data by email end need to store them into the main server database.
    Note: Data to be send have not a big dimension and, naturally, clients and server databases are identical (same structure)!
    My questions are:
    1) What is the best way to export data from database access to a file? (I imagine I need to use .XML file). Do I need to use particular package or software??
    2) What is the best way to import data from a file (maybe .XML) into a database access (of server)?? Do I need to use particular package or software??
    This is my first software of this kind.
    Please HELP ME!
    Thanks in advance, Liuk.

    1) What is the best way to export data from database
    access to a file?That depends on many things.
    (I imagine I need to use .XML
    file). NO! That's not what XML is for
    Do I need to use particular package or
    software??Again, that depends on a lot of things.
    2) What is the best way to import data from a file
    (maybe .XML) into a database access (of server)?? Do
    I need to use particular package or software??Look at Java IO packages for reading data from files. Then look at JDBC for writing data to databases. Avoid XML, you don't need it.

  • Exporting data from a multiple worksheet excel to oracle database.

    Hi,
    Am having a very big problem,i have to export data from excel to database.My excel is havin multiple worksheet.
    I thought of most of the options nothing is suiting my layout.
    SQL loader ,can't use due to multiple worksheet.
    HSServices can;t use because my column headings are row wise,and the excel start with a big Heading rather than having column headings.
    UTL_FILE can't use beacuse of multiple worksheet,and frankly speaking i don't know how to use utl file with excel to read paticular cell in excel.
    Thanks

    First of all: this is a forum of volunteers.
    So no one is obliged to respond to you.
    Therefore 'urgent' does not exist in this forum, and labeling your request as 'urgent' is considered rude by many. If it is really that urgent, submit a prio 1 request at Metalink.
    Secondly, I don't think you thought of most of the options.
    Yes, you can use SQL*Loader as you can dump each individual worksheet to a separate CSV file.
    Also, you didn't consider ODBC. If ODBC in Excel is too cumbersome, you can use MsAccess to hook the Excel sheet in Msaccess, connect to the database using the Oracle ODBC driver and design an ordinary append query,
    Obviously, you would need one query per worksheet.
    Hth
    Sybrand Bakker
    Senior Oracle DBA

  • Database Export exporting data does not export time of date columns

    Hi,
    I'm trying to export some data using Database Export and for the date columns the resulting scripts truncates dates showing only the date part not the time one. If export from a query result the resulting script include all the information (date and time).
    Does anyone has an idea on how to export all the date information using database export.
    thanks

    Yep, as Jim said, under Tools / Preferences / Database / NLS Parameters I changed Date Format to DD-MON-YYYY HH24:MI:SS
    Seems to have done the trick. What's the significance of DD-MON-RR versus DD-MON-YY?

Maybe you are looking for

  • How do you get a pc account on a mac

    How can I get a pc account on my mac??

  • No longer able to connect to home network

    my connection had been fine since i got my phone but yesterday when i tried to re-connect it said "unable to join" and has kept saying that even though i put my password in

  • Spry XML and image map

    Hi all- I'm new to using spry and xml, but not new to xhtml and layout, having said that. I'm trying to store file paths in my xml and parse that xml to repace <href> tags in an image map. For example (the actual cooridnates in the map are just made

  • Turn off Ken Burns Effect?

    Hi - does anyone know how to turn off the ken burns effect? i see the option to do so in project preferences -- but it is only applying to the first photo in the series and I'd like to shut it off for all... can anyone help? thanks!!! rachel

  • IPad display is faded

    When I turned on my iPad two days ago the screen did not seem as vibrant as before. It was like the brightness was turned up or the colors were washed out. I tried changing the brightness and that didn't fix it. I tried to restore to factory settings