First time with Oracle XML database

Hi!
I'm a beginner with XML and with Oracle XML database so i need same help. I've read the documentation (example for XML Oracle).
What do i need to write XML files from an oracle database and the other way to read XML files into the database?
Or does anyone know how i can get information about this?
Thank's for help!
With best regards
Nicole

Nicole,
One quick way to get xml out of the database is to use the dbms_xmlgen.getXML package.
i.e. in sqlplus
set long 4000
select dbms_xmlgen.getxml('select * from emp') from dual;
or
set long 4000
select dbms_xmlgen.getxml('select column_name from owner.tablename') from dual;
HTH

Similar Messages

  • I am trying to connect oracle develper suit form with oracle 10g database

    i am trying to connect oracle develper suit form with oracle 10g database
    but when i pass username and password
    this message apperars
    ORA-12560:TNS:protocol adapter error
    every time even i try to connect Report or Designer each time same problem
    making no connection .
    can any body help can help me to reslove this prblem
    Arshad khan

    Duplicate thread:
    Re: connection problem

  • Oracle 6i forms issue with Oracle 9i Database

    Hi Friends,
    I am having Oracle Forms Developer installed with patchset18.The Version is 6.0.8.27.0
    When i connect the forms builder to 9i Database (9.2.0.1) the form builder is getting crashed but i am able to connect the forms builder to e-business suite database(9.2.0.6)
    I tried installing 9i Database(9.2.0.1) on windows 2003 server,windows xp,windows 2000.
    When i connect my forms builder to any of these databases the forms builder is crashing with don't send message error on (ifbld60.exe).
    Is there any compatibility issue between forms builder(6i) and oracle 9i(9.2.0.1).Please suggest me.
    Regards,
    Arun .N

    Forms 6i connects to Oracle 9 databases just fine, even though it is no longer certified by Oracle.
    First of all, can you connect to the database with SQL Plus? Make sure that works first.
    The other thing that comes to mind is the AL32UTF8 character set. Forms 6i and other older Oracle software cannot connect to databases using it. But I have only seen that problem with Oracle 10g databases, so I am not sure about the Oracle 9 db.
    Here is a thread discussing the problem: Re: connecting form 6i  to oracle database 10G express edition

  • Which latest web logic server compatible with oracle 11g database

    which latest web logic server compatible with oracle 11g database >is weblogic server 12c is compatible with oracle 11gR2

    current environment= forms and reports 10g and database 10gR2,os windows 32-bit.
    wants to implement and configure as below:
    server1: web-logic server 12c with forms and reports upgrade from 10g to 11g where os 64-bit windows.
    server2: upgrade and migrate  from 10gR2 11gR2 from windows xp to windows 2008-R2.
    how to achieve this.what step should perform first.

  • Regarding  working with oracle spatial database connections

    sir/madem,
    i am an engg student, my final year project on inserting data into oracle spatial database through java /jsp , i am working with oracle spatial database 10g/11g,
    i want know how to insert/retrive/ manuplute the spatial data into oracle spatial databse for 10g/11g, through java programing,
    the syntax for connection of oracle spatial database 10g/11g, needed,
    i have less time to finish my project
    i hope u  help me
    thank u
    kasim
    ([[email protected]|mailto:[email protected]])

    For database access from Java, you will use JDBC.
    For the specifics of the oracle spatial database, you'll have to check the documentation/forum of Oracle.
    * [How To Ask Questions The Smart Way|http://www.catb.org/~esr/faqs/smart-questions.html]
    * [JDBC Tutorial|http://java.sun.com/docs/books/tutorial/jdbc/index.html]

  • "Oracle xml Database" INVALID

    Hi,
    when i executed the following query:
    SELECT COMP_NAME, STATUS
    FROM DBA_SERVER_REGISTRY;
    i got all the objects status as VALID except that
    "ORACLE XML Database" was INVALID
    Can someone help me to make this "ORACLE XML Database" as VALID.
    Thanks,
    Philip.

    HI Frank,
    now what i did was i actually ran catpatch.sql and utlrp.sql after i did startup migrate.
    and when i did
    SELECT COMP_NAME, STATUS
    FROM DBA_SERVER_REGISTRY;
    i got all objects as valid, but i dont see "Oracle XML Database" anymore.
    so now i suppose i cannot reinstall, but actually do a fresh install. and the following are the steps for a fresh install in the documentation
    Installing a New Oracle XML DB Manually Without Database Configuration Assistant
    After the database installation, you must run the following SQL scripts in rdbms/admin connecting to SYS to install Oracle XML DB after creating a new tablespace for Oracle XML DB repository. Here is the syntax for this:
    catqm.sql <XDB_password> <XDB_TS_NAME> <TEMP_TS_NAME>
    #Create the tables and views needed to run XML DB
    For example:
    catqm.sql change_on_install XDB TEMP
    Reconnect to SYS again and run the following:
    catxdbj.sql #Load xdb java library
    Note:
    Make sure that the database is started with Oracle9i release 2 (9.2.0) compatibility or higher, and Java Virtual Machine (JVM) is installed.
    Postinstallation
    After the manual installation, carry out these tasks:
    1.     Add the following dispatcher entry to the init.ora file:
    dispatchers="(PROTOCOL=TCP) (SERVICE=<sid>XDB)"
    2.     Restart the database and listener to enable Oracle XML DB protocol access.
    3.     To allow for unauthenticated access to your Oracle XML DB repository data through HTTP, you must also unlock the ANONYMOUS user account.
    is this right. can u tell me what i should do please.
    Thanks,
    Philip.

  • Mark Logic vs. Oracle XML Database?

    Hi,
    I'm comparing Mark Logic vs Oracle XML database for a new project. All the data is well structured and validated XML data. Any comments, suggestions, personal experiences with either product will be extremely helpful.
    Thanks in advance,
    Dave

    In 5+ years Oracle will still be the #1 database on the planet and people who have it on their resume will be employable.
    In 5+ years Mark Logic will be out of business, a marginal player, or absorbed by either Oracle, IBM, or Microsoft. Unless you find some great romantic attraction to marginal technologies, can I recommend RPG II or ALGOL or Ingres, I would highly recommend Oracle.
    Right now, at dice.com, there are 1,745 jobs listing Oracle and XML: There are 15 listing Mark Logic.
    But heck the world economy is booming so why let that affect your decision. <g>

  • Weblogic SOA 12.1.3: Integration with Oracle 9i Database

    All,
    We have a client who currently adopt BPEL 10g (10.1.3.4). Currently we are looking to updrade the client to SOA Suite 12.1.3. As part of their existing architecture, there are a number of Oracle 9i databases that the BPEL components integrate with via DB Adapters. The clients current road map is to upgrade / migrate to the 12c SOA platform but not upgrade any of their legacy applications running on top of a Oracle 9i Database.
    Please note I have observed and reviewed the Certification Matrix for supported platforms at http://www.oracle.com/technetwork/middleware/fusion-middleware/documentation/fmw-1213certmatrix-2226694.xls
    As part of initial investigations, we have identified that the JDBC drivers that are integrated with 12.1.3. Weblogic are not compatable with Oracle 9i. You are able to create and test data source conections with success. However at runtime when querying the database a number of issues manifest. These incude:
    VARCHAR2 columns are not returned via a select. Date columns and number columns are returned
    Errors when executing adapters which implement the Pure SQL feature.The error returned involves the "ora-01460: unimplemented or unreasonable conversion requested" error.
    Similair design time issues are also envountered in JDeveloper (as per JDeveloper 12.1.3 (SOA / BPM) Integration with Oracle 9i Database)
    Looking at the default configuration in 12c, it is to utilise OJDBC7 drivers supplied which support JDBC 4.1specification.
    Has anyone had experience of using an Oracle 9i Database with Weblogic 12.1.3.? or have any viable options / views for how this could be achieved?
    Regards Dave

    I wrongly mentioned to change to change the font format. In that document they mention to add the lines.
    Thanks
    Guna

  • How to getting start in oracle xml database????

    hi,
    i am just beginning to use oracle xml database, i don't konw how to use ,can anybody give me some guidance??? like something about how to build xml database and some basic operation.
    your suggestions will help me.
    thanks all !!!

    hi,mdrake
    with your suggestion, i find the following url
    http://download-west.oracle.com/docs/cd/B19306_01/appdev.102/b14259/toc.htm.
    and download some pdf.
    thanks a lot

  • I live in Italy and I am trying to buy an App, for the first time with my iphone4...in the past only downloaded free apps free apps; I have a US Visa card and it is not accepted by italian Itunes...what can I do to do my purchases?

    I live in Italy and I am trying to buy an App, for the first time with my iphone4...in the past only downloaded free apps free apps; I have a US Visa card and it is not accepted by italian Itunes...what can I do to do my purchases?

    On the apple website that is correct i beleive.... but i have an italian american express and am able to purchase stuff here in the US.
    I mean, i dont think it really matters

  • I'm trying to use my iPad mini for the first time with a previous apple ID and password but it will not connect to iTunes but I can download apps from my iPhone using the same appleID and password and it works on my iphone...PLEASE HELP NOW

    I'm trying to use my iPad mini for the first time with a previous apple ID and password but it says "iTunes is not working try again"...it allowed me to download an app on my iPhone using the same apple ID &amp; password but all my apps are in "Waiting Status" on my iPad mini because it says "iTunes is not working"...PLEASE HELP ME NOW!!!

    Previous user installed iOS 7 beta on that iPhone.
    Take it back and get your money returned. You
    are running into a new security feature. Whoever owns
    the ID that it is asking for is the only person who can
    remove the security. That iPhone is worthless to you.

  • Mapping LDAP Role in Building Your First Process with Oracle BPM 11g

    I'm working on "Building Your First Process with Oracle BPM 11g" I'm at the end of step where assigns user for the requester. The problem is in identity lookup, "Realm" is empty for Remote_WLServer.
    Servers are up and running. Demo user community has been loaded - I can see the list of users and groups in the administration server under myrealm. We haven't done much since SOA suite 11g installation. I'm probably the first one who uses this. I wonder we have a missing set up? Can you me what's missing? Appreciate your help in advance.

    I get this error message when I clicked gear icon.
    "Server exception is : Connection refused from server"
    Here is the result of testing Remove_WLServer connection. Does this cause the issue?
    Testing JSR-160 Runtime ... failed.
    Cannot establish connection.
    Testing JSR-160 DomainRuntime ... skipped.
    Testing JSR-88 ... skipped.
    Testing JSR-88-LOCAL ... skipped.
    Testing JNDI ... skipped.
    Testing JSR-160 Edit ... skipped.
    Testing HTTP ... success.
    Testing Server MBeans Model ... skipped.
    Testing HTTP Authentication ... success.
    2 of 9 tests successful.
    I have installed JDeveloper 9i, 10g, and 11g in my laptop. SOA is installed on linux.

  • Problem to connect Developer Suite forms 9 with Oracle 9i Database

    Hi,
    I have a problem to connect Developer Suite Release 2 forms 9 with Oracle 9i database release 1. I have done net8 easy configuration but no success. Can any one help me to solve this problem.
    Thanks in Advance
    Nasir Ali Mughal

    We cannot help if you don't give us the error number that you get.
    Also something that you might want to do is to search this error number on OTN.

  • Problem Connecting Developer Suite Form 9 with Oracle 9i Database

    Hi,
    I have a problem to connect Developer Suite Release 2 forms 9 with Oracle 9i database release 1. I have done net8 easy configuration but no success. The error is ORA-12514 TNS: Listener could not resolve SERVICE_NAME given in connect descriptor. I am not using any application server. Can any one help me to solve this problem.
    Thanks in Advance
    Nasir Ali Mughal

    Configure the net configuration for both 9idb and 9ids in the same way. Make sure the TNSlisner is started.

  • Oracle Tuxedo 8.1 With Oracle 11g Database

    Hi,
    I have an old application that must be compiled with oracle 8.1 and Oracle9i Database.
    We are migrating to Oracle 11g Database, and now we have some inssues to compile with Oracle 11g Database. For example some Libraries that the Tuxedo XA Resource Manager needs from the Oracle Database, that just u can found on older versions like Oracle9i (kpudfo.o file).
    what can be the solution for that problem?
    An Oracle 11g database config or a Tuxedo config ?

    Hi,
    When you say "Tuxedo XA Resource Manager" I'm not sure what you are referring to. Do you mean the Tuxedo transaction management servers (TMS) servers that are built with the buildtms command? If so, if there are linking errors, it has to do with either your library paths or the RM definition for Oracle Database in the $TUXDIR/udataobj/RM file. Tuxedo itself only uses the XA switch from the resource manager such as Oracle database. Now the resource manager may require a bunch of libraries, which is why I suggested you check your library path. If the above doesn't help, can you post the error you are getting and what is generating/creating the error?
    Regards,
    Todd Little
    Oracle Tuxedo Chief Architect

Maybe you are looking for

  • Domain-wide administration port?

    Hi, I tried to start a cluster of 2 servers across 2 physical machines, I got error and server starting failed: "Starting Managed Servers in Standby mode requires the domain-wide administration port." My topology is as following: Domain A is created

  • Creation of test instance

    Hi All, I am new to applications so i don't know if i want to create a test instance on windows 2000 for apps 11.5.9 then what should be the steps. I don't have oracle applications installed on my server. Pls tell me what should be the right sequence

  • IPad warranty question

    Hi, I bought an iPad with retina display and Sim card in the US. It is defective (monitor issue) and within warranty period. I am now based in London, UK. Can I have it repaired or replaced here?  Thank you

  • Dymanic Drop down list

    I have a drop down list that will exists in multiple pages. The VO that is linked to the dropdown list need to be executed differently (passing certain parameters) depend on the page that the drop down list is in. So two things determine the values i

  • How to build the W510 recovry DVD ?

    Hello, I bought a W510 today and I would like to know how can I burn the recovery DVD on my thinkpad W510? I have a IdeaPad Y570 too, and it is very easy to make this in this system, but in the thinkpad I do not find any program to make this. Thank y