How can i query oracle database data to xml file with c++?

I want query data to xml file directly in my c++ application .
I know the oracle XSU provide interferce for query data to xml
file directly.
But XSU for oracle8i does not support c++.
I do not know if XSU for oracle9i support c++.
can you tell me?
If i do not use XSU to finish my applicayion.
what interface that oracle provide can help me do my work?
thank you !

BTW why do you want to migrate oracle database data to db2 database? Any specific project requirement like Parallel run with Oracle database (e.g data replication)? Or any other issues - Cost? Manageability? Availability? Business requirements?
Do you need to do a day-to-day data transfer or it is for permanent migration?

Similar Messages

  • How can i migrate oracle database  data to DB2 database

    Hi
    how can i migrate oracle database data to db2 database.
    can anyone provide me solution.

    BTW why do you want to migrate oracle database data to db2 database? Any specific project requirement like Parallel run with Oracle database (e.g data replication)? Or any other issues - Cost? Manageability? Availability? Business requirements?
    Do you need to do a day-to-day data transfer or it is for permanent migration?

  • How can I install Oracle database 9i on Redhat linux with OFA

    Hello,
    From the Unix installation guide:
    Note: The Oracle Universal Installer supports, but does not require, OFA. The preconfigured database included with the Database installation type of Oracle9i database is created under a single mount point and is, therefore, not OFA-compliant.
    So my question is how to install dabase with OFA structure. I have read the DOCs for OFA, but I still can not understand. I mean, within Oracle Universal Installer, is there some option allow me to support OFA?
    Thanks a lot,
    Grace

    Why IBM said that their 64-bit server can run both 32-bit and 64-bit application in the same time?Because the CPU itself is capable of running both: 32-bit and 64-bit.
    In order to do so you need a 64-bit operating system to run 64-bit binaries.
    If you use LPARs you can partition your pSeries to have multiple partitions each running a copy of AIX. So you can run 32-bit and 64-bit operating systems at the same time if needed.
    But as already pointed out i recommend to use 64-bit because most 32-bit applications will run without problems.
    Ronny Egner
    My blog: http://blog.ronnyegner-consulting.de

  • How can i start oracle databases? i am using Oracle 8.1.6 for linux.

    when i run dbstart,it gives me following message:
    Database "ora4cweb" warm started.
    but when i use sqlplus,it says:
    ORA-01034: ORACLE not available
    i made a mistake ,i shutdown my linux before i shutdown oracle databases,how can i start oracle databases now?thanks in advance.

    try it without the scripts...
    login to linux as oracle
    start server manager
    svrmgrl
    connect internal
    startup
    select sysdate from dual;if that works
    exitcheck listener
    lsnrctl
    statif nothing running type
    start
    exitnull

  • How to extract data from XML file with JavaScript

    HI All
    I am new to this group.
    Can anybody help me regarding XML.
    I want to know How to extract data from XML file with JavaScript.
    And also how to use API for XML
    regards
    Nagaraju

    This is a Java forum.
    JavaScript is something entirely different than Java, even though the names are similar.
    Try another website with forums about JavaScript.
    For example here: http://www.webdeveloper.com/forum/forumdisplay.php?s=&forumid=3

  • How can I write new objects to the existing file with already written objec

    Hi,
    I've got a problem in my app.
    Namely, my app stores data as objects written to the files. Everything is OK, when I write some data (objects of a class defined by me) to the file (by using writeObject method from ObjectOutputStream) and then I'm reading it sequencially by the corresponding readObject method (from ObjectInputStream).
    Problems start when I add new objects to the already existing file (to the end of this file). Then, when I'm trying to read newly written data, I get an exception:
    java.io.StreamCorruptedException
    at java.io.ObjectInputStream.readObject0(Unknown Source)
    at java.io.ObjectInputStream.readObject(Unknown Source)
    Is there any method to avoid corrupting the stream? Maybe it is a silly problem, but I really can't cope with it! How can I write new objects to the existing file with already written objects?
    If anyone of you know something about this issue, please help!
    Jai

    Here is a piece of sample codes. You can save the bytes read from the object by invoking save(byte[] b), and load the last inserted object by invoking load.
    * Created on 2004-12-23
    package com.cpic.msgbus.monitor.util.cachequeue;
    import java.io.File;
    import java.io.FileInputStream;
    import java.io.FileOutputStream;
    import java.io.IOException;
    import java.io.RandomAccessFile;
    * @author elgs This is a very high performance implemention of Cache.
    public class StackCache implements Cache
        protected long             seed    = 0;
        protected RandomAccessFile raf;
        protected int              count;
        protected String           cacheDeviceName;
        protected Adapter          adapter;
        protected long             pointer = 0;
        protected File             f;
        public StackCache(String name) throws IOException
            cacheDeviceName = name;
            f = new File(Const.cacheHome + name);
            raf = new RandomAccessFile(f, "rw");
            if (raf.length() == 0)
                raf.writeLong(0L);
         * Whne the cache file is getting large in size and may there be fragments,
         * we should do a shrink.
        public synchronized void shrink() throws IOException
            int BUF = 8192;
            long pointer = getPointer();
            long size = pointer + 4;
            File temp = new File(Const.cacheHome + getCacheDeviceName() + ".shrink");
            FileInputStream in = new FileInputStream(f);
            FileOutputStream out = new FileOutputStream(temp);
            byte[] buf = new byte[BUF];
            long runs = size / BUF;
            int mode = (int) size % BUF;
            for (long l = 0; l < runs; ++l)
                in.read(buf);
                out.write(buf);
            in.read(buf, 0, mode);
            out.write(buf, 0, mode);
            out.flush();
            out.close();
            in.close();
            raf.close();
            f.delete();
            temp.renameTo(f);
            raf = new RandomAccessFile(f, "rw");
        private synchronized long getPointer() throws IOException
            long l = raf.getFilePointer();
            raf.seek(0);
            long pointer = raf.readLong();
            raf.seek(l);
            return pointer < 8 ? 4 : pointer;
         * (non-Javadoc)
         * @see com.cpic.msgbus.monitor.util.cachequeue.Cache#load()
        public synchronized byte[] load() throws IOException
            pointer = getPointer();
            if (pointer < 8)
                return null;
            raf.seek(pointer);
            int length = raf.readInt();
            pointer = pointer - length - 4;
            raf.seek(0);
            raf.writeLong(pointer);
            byte[] b = new byte[length];
            raf.seek(pointer + 4);
            raf.read(b);
            --count;
            return b;
         * (non-Javadoc)
         * @see com.cpic.msgbus.monitor.util.cachequeue.Cache#save(byte[])
        public synchronized void save(byte[] b) throws IOException
            pointer = getPointer();
            int length = b.length;
            pointer += 4;
            raf.seek(pointer);
            raf.write(b);
            raf.writeInt(length);
            pointer = raf.getFilePointer() - 4;
            raf.seek(0);
            raf.writeLong(pointer);
            ++count;
         * (non-Javadoc)
         * @see com.cpic.msgbus.monitor.util.cachequeue.Cache#getCachedObjectsCount()
        public synchronized int getCachedObjectsCount()
            return count;
         * (non-Javadoc)
         * @see com.cpic.msgbus.monitor.util.cachequeue.Cache#getCacheDeviceName()
        public String getCacheDeviceName()
            return cacheDeviceName;
    }

  • How can i make a picture from a video file with final cut pro x?

    how can i make a picture from a video file with final cut pro x?

    Go to the "share" menu, select "save current frame"

  • How can i query report between date item

    Hi All,
    my report query like this
    </code>
    SELECT PROJECT_STATEMENT.PROJECT_STATEMENT_ID,
    PROJECT_STATEMENT.CREATE_DATE,
    PROJECT_STATEMENT.DOC_NO,
    PROJECT_STATEMENT.LISTS
    FROM PROJECT_STATEMENT
    WHERE TO_CHAR(PROJECT_STATEMENT.CREATE_DATE) BETWEEN TO_CHAR(:P3341_START_DATE)AND TO_CHAR(:P3341_TO_DATE)
    AND PROJECT_STATEMENT.CATEGORY_BUDGET = 2
    AND PROJECT_STATEMENT.STATUS = 1
    AND PROJECT_STATEMENT.BUDGET_TYPE = 8
    </code>
    i try to select date from 2 item is start date and stop date with this query but it does't work how can i do this? please help me...
    my APEX Version is 4.1 and oracle 11g
    Edited by: 963456 on 5 ต.ค. 2555, 8:11 น.

    Hi,
    Try this
    SELECT PROJECT_STATEMENT.PROJECT_STATEMENT_ID,
      PROJECT_STATEMENT.CREATE_DATE,
      PROJECT_STATEMENT.DOC_NO,
      PROJECT_STATEMENT.LISTS
    FROM PROJECT_STATEMENT
    WHERE PROJECT_STATEMENT.CREATE_DATE  BETWEEN TO_DATE(:P3341_START_DATE,'<fmt>')
      AND TO_DATE(:P3341_TO_DATE,'<fmt>')
    AND PROJECT_STATEMENT.CATEGORY_BUDGET = 2
    AND PROJECT_STATEMENT.STATUS = 1
    AND PROJECT_STATEMENT.BUDGET_TYPE = 8Where &lt;fmt&gt; is the Date Format Mask of the two page items.
    Converting dates to varchar2 and then comparing them is not the way to do it.
    Cheers,

  • How can I updte Oracle database from 9.2.0.1 to 9.2.0.4?

    I want to use DM4j in JDeveloper 9.2.0.4, and it requires Oracle Database 9.2.0.4. I'm using Windows XP professional to be Database Server, so can I update my database. Someone here said he/she did this update, is it under windows platform?

    Thanks, I have update it by installing the path, and now I got the screen to generate code. However, when I run the generated code, it appears following error message:
    ClassificationMBTestOne.ClassificationModelBuildTestOne odm kknd jdbc:oracle:thin:@dba.ifsm.umbc.edu:1521:oracle9i
    Debugger connected to local process.
    Initialization Phase:
    Data Mining Server:
    JDBC URL: jdbc:oracle:thin:@dba.ifsm.umbc.edu:1521:oracle9i
    Username: odm
    Login Phase:
    Created data mining server
    Completed login
    Cleanup Phase:
    Removed function settings object: ClassificationModelBuildTestOne
    No prior mining model object to be removed: ClassificationModelBuildTestOne
    Removed mining task: ClassificationModelBuildTestOne
    Data Setup Creation Phase:
    Created NonTransactional PDS
    Input schema: ODM_MTR
    Input table: CENSUS_2D_BUILD_UNBINNED
    Mining Settings Creation Phase:
    Saved MiningFunctionSettings
    Name: ClassificationModelBuildTestOne
    Model Build Task Phase:
    Invoking Model build.
    Logout Phase:
    Completed MiningServer logout
    End: Fri Apr 16 11:50:11 EDT 2004
    oracle.dmt.odm.task.MiningTaskException: Failed to enqueue task "ClassificationModelBuildTestOne".
         at oracle.dmt.odm.task.MiningTask.execute(MiningTask.java:433)
         at ClassificationMBTestOne.ClassificationModelBuildTestOne.createModel(ClassificationModelBuildTestOne.java:1305)
         at ClassificationMBTestOne.ClassificationModelBuildTestOne.buildClassificationModelBuild(ClassificationModelBuildTestOne.java:412)
         at ClassificationMBTestOne.ClassificationModelBuildTestOne.main(ClassificationModelBuildTestOne.java:544)
    Exception breakpoint occurred at line 550 of ClassificationModelBuildTestOne.java.
    oracle.dmt.odm.task.MiningTaskException:

  • How can I install Oracle Database 10g for Solaries (SPARC) from the console

    Dear Forum Members,
    In my office, I have to installed Oracle Database 10g for Solaries (SPARC). But I have to do it without DISPLAY Monitor.Is it possible install it by remote login to this server using response file (silent mode) or something like that?
    If yes. Then How?
    If anyone have the exact solution, then I need your feedback. I shall wait for your reply.
    Thanks
    Aungshuman Paul

    There are 2 possible ways to accomplish this.
    First,
    Silent installation
    http://www.informit.com/articles/article.asp?p=174771&rl=1
    Second, (cut/paste from other site)
    How to install Oracle software remotely?
    Remote Software Installation Steps: (For Solaris only)
    If you want to install Oracle Software remotely, you should perform the following steps. These steps are applicable only if your source and target machine are running Unix.
    For example, you can install Oracle Software from your home from Washington, DC to a target source in California.
    1. Pick your source server or machine for remote installation.
    2. Check that your CD is in your source CD-ROM drive.
    3. On the target machine, find your target machine name with the output of the /usr/bin/hostname
    4. On the source machine, login as a user.
    5. On the source machine, enable client access: % /usr/openwin/bin/xhost + target-machine-name
    6. Become root user by typing: su (don’t use -)
    7. Check that Volume Manger is running. # ps –ef |grep vold (if you see an entry that contains /usr/sbin/vold, Volume Manager is running. Then skip to Step 10.
    8. If not then do the following: # mkdir –p /cdrom/your-cd-file-name
    9. # mount –F hsfs –r cdrom-device /cdrom/your-cd-file-name
    10. Add the following line to your /etc/dfs/dfstab file: # share –F nfs –o ro /cdrom/your-cd-file-name
    11. Verify whether your source machine is an NFS server: # ps –ef | grep nfsd
    12. If you see an entry that contains /use/lib/nfs/nfsd –a 16, then nfsd is running and skip to Step 16.
    13. If nfsd is running, then type: # /usr/sbin/shareall
    14. If nfsd is not running, then start nfsd by typing: # /etc/init.d/nfs.server start
    15. Verify whether your source machine is an NFS server again by typing: # ps –ef | grep nfsd
    16. Make sure your source machine is exporting your product directory by typing: # /usr/sbin/dfshares
    17. Now, log in to the target machine by type: # rlogin target-machine-name –l user (not root)
    18. Then log in as the root user by typing: # su
    19. Go to the source machine by typing: # cd /net/source-machine/cdrom/your-cd-file-name ,then Skip to 24.
    20. If you cannot change to that directory in Step 19 and you do not have an auto-mounter on your network, then create amount point by typing the following commands.
    21. # mkdir /remote_products
    22. # /usr/sbin/mount –F nfs –r source-machine:/cdrom/your-cd-file-name /remote_products
    23. # cd /remote_products
    24. Redirect the target machine display to source machine by typing: # DISPLAY=source-machine:0; export DISPLAY (if you use a Bourne or Korn shell).
    25. Start the Web Start Installer by typing: # ./installer (or whatever the installer name program is).

  • A newcomer: how can I drop oracle database?

    I am just use oracle, I try to create a DB, and then I want to
    delete it,
    but when I input "drop database <dbname>", it can be executed,
    please help me!
    thanks!
    null

    binghao (guest) wrote:
    : I am just use oracle, I try to create a DB, and then I want to
    : delete it,
    : but when I input "drop database <dbname>", it can be executed,
    : please help me!
    : thanks!
    with os command,delete all datafiles,redo log files,control files
    and init<sid>.ora
    null

  • How can I preserve the modify date of the files I transfer from my local computer to the remote webserver?

    How can I make sure the the modify date of files are not updated to the date the file was uploaded or downloaded.
    There are multiple people working on my sites and I am the only one that uses Dreamweaver.  The problem this presents is when  one of my colleagues works on an image and I want to update my local computer it changes the date of the image to the date that I downloaded it and now when I compare what I have on my local computer to what is on the server they are different modify dates.

    Dont think you can find out the date of purchase!
    Where should know this without a payment bills or sales checks.
    What you can do is to find out when the notebook was registered on the Toshiba page.
    [Toshiba Warranty Lookup |http://computers2.toshiba.co.uk/toshiba/formsv3.nsf/WarrantyEntitlementLookup?OpenForm]

  • How can I export complex FRF data in ASCII files especially UFF58 format?

    Background:
    I have a problem saving analysed data into a format that another software program (MODENT) can import.
    I am using "SVA_Impact TEST (DAQmx).seproj", to acquire force and acceleration signals from a SISO hammer model test, and process up to the stage of an FRF and coherence plot. I need to export the FRF information into MODENT, meaning it must contain both magnitude and phase (real and complex) information in one file. (MODENT does not need the coherence information, which is only really used during the testing process to know we have good test data. The coherence information can already easily be saved into ASCII text file, and kept for test records - not a problem).
    MODENT is a speciaised modal analysis package, and the FRFs from tests can be imported into its processing environment using its "utilities". The standard is a UFF58 file containing the FRF information.
    Labview does not seem to be able to export the FRF data in UFF58 format. In general, Labview can export to UFF58, but only the real information, not the complex information - is this correct?
    Is there a way to export the real and complex information from FRFs using one file.
    I am working on this problem from both ends:
    1. MODENT support, to help interface into MODENT.
    2. Lavbiew support, to try to generate an exported file format with all necessry analysed data.

    Hi
    Have a look at the "seproj" and "vi" versions I mentioned in this thread - both available from the supplied example VIs in Signal Express and Labview. I've also attached these here.
    The "seproj"version has what are called "limits" for the input data, meaning it cheks certain criteria to make sure the test data sentfor analysis (to give the FRF) is wihin certain limits: 1. "overload" where the amplitude must be below a set maxiumum, 2. "time", where the signal must deacy to zero within the time envelope. These are useful test check functions to have.
    I looked at the conversion from SE to Labview VIs, but if I understand correctly, this essenetially embeds the SEproject in Labview, but does not allow the same use of viewing of the user windows during testing (eg seeing the overload plots, editing the overload levels, etc)?
    Other settings:
    -signal input range, sensitivity, Iex source, Iex value, dB reference, No. of samples and sample rate.
    -triggering off the hammer, with all the setting optons shown in step setup for "trigger"
    -all settings associated with the load and time limits; presented in a very useful format of either defining by X,Y coordinates, or by scalling.
    -all config and averaging options for the freqency response.
    The practise envirnoment in the SEProj version is also useful, as getting the technique right for using the hammer is not always easy, and it allows a quick check of basic settingsbefore doing the actual tests.
    The Nyquist plot in the VI version is useful.
    Happy New Year to everyone !
    Attachments:
    SVA_Impact Test (DAQmx) demo.seproj ‏307 KB
    SVXMPL_Impact Test (DAQmx).vi ‏75 KB

  • Using Query to fetch data from xml file

    Hi guys ,
    Just want to know , how to fetch data from an XML file in adobe flex? i have a database generated xml file.

    you can use httpService.

  • How can I make waveform graph and/or excel file with two different dynamic DBL values?

    As the question describes, I have two dbl sources from a load cell and linear actuator (from firgelli). I want to make a load/displacement curve from the force readings from the load cell and the displacement readings from the linear actuator. The load cell outputs an analog signal that can be acquired by a DAQ and the actuator comes in with a board and VI program to control the speed and measure the displacement of the actuator to a sample rate of my choosing. Is there a way that I can make a VI where it continues to collect data and construct the graph I'm looking for?
    Solved!
    Go to Solution.

    A couple points about your application:
    1.  Synchronization.  Since you're ultimate goal is a stress/strain curve, it is vital that your force and displacement data be synchronized appropriately.  If your sampling is beyond a few times a second, this is not really possible without some form of hardware synchronization via either a trigger and/or sample clock.  Two NI DAQ boards can be synchronized this way easily, but it seems you're using 3rd party hardware for one of these processes.  Would need to know more about that board to know what options you have.  You could specify what your resolution is in distance, and how fast the article will be moving, to get an idea of how fast to acquire, and how well you'll need to synchronize the data.  Another option, since it appears each data stream will be sampled on a hardware-timed sample clock, they will be offset in time, but not skewed during the acquisition.  You may be able to identify a feature in the data set common to each and use that to remove the timing offset after the process is completed.
    2.  Display.  To display data during the acquisition process, I usually recommend at least one display that plots vs. time.  Much easier to spot irregularities with the acquisition process that way.  However, if you'd like to also plot force vs. displacement, you can use an XY Graph to plot parametrically. For Example, in your case you would use the Displacement data as the X coordinates, and the Force data as the Y coordinates.
    3.  Saving data to file.  I would recommend using the Save to Spreadsheet File.vi (File IO pallette) to save your data.  If you use a comma as the delimiter, and save the file with a *.csv extension, you will have a file that is easily read into excel.  The standard tab-delimited spreadsheet file is also fine, it will just require an extra step to read it into excel to specify to excel what the delimiter is.
    4.  Batch vs. Real-Time Recording (Data File).  If your process is short (< 30 sec) you may be better off acquiring the data, Storing it locally to the VI (Array - usually maintained in a shift register), and then writing the file with a header (acquisition parameters, test article information, data column headers) and the data all at once in batch mode to the file after the process is finished.  If, however, it is longer than that you would be better off starting a data file with a header and appending the data to the file as you go, so that if something happens during your test, you at least have data up to that point.
    Hope this Helps,
    Kurt

Maybe you are looking for

  • Service Purchase Order with Negative Value

    Hi Experts, is there a method of creating a purchase order of services that can have negative value on it? the requirement is that the PO, SES and Invoice of the previously issued PO needs to be adjusted by creating a new Purchase order. Please advis

  • Batch Field in the purchase order item level confirmation tab

    Hello Friends, Can anybody tell me the significance of Batch field in the Confirmation tab of  a purchase order item level? Can we make this field editable? Thanks, Bhairav

  • Download 9i R2 Database

    I have tried unsuccessfully several times to download the 3 zip files. Each time the download stops part way through (i.e.; file 1 is 612MB but stops after 94MB, file 3 is 254MB but stops after 80 MB) There is no option to select a different source.

  • Identity Plate Question

    I recently got Lightroom and am learning it s l o w l y. I have created and used both text and graphic identity plates, but haven't found an answer to this quandry... Are the custom identity plates unique to a given catalog? When I create plates in t

  • Wlc2112-k9 802.1x dynamic vlans on multiple ports

    I have a wlc2112-k9. I have succesfully setup a WLAN with 802.1x authentication and dynamic VLAN assignment. The issue I have (and maybe it isn't an issue and just the way the controller works) is that if the vlan interfaces I have defined are connec