About oracle xe

dose oracle xe support xquery? and oracle database standard edition?
i want to use oracle xe query xmltype data,what should i do?

As I understand it, the XQuery language itself can return any node or fragment. What I was trying to say is that the XQuery function doesn't appear to be able to return COLUMN representations of the Xquery output: you have to have to use the XMLTABLE (not supported in current version of XE) or XMLSEQUENCE (deprecated in 11gR2) in order to query XML like a table.
If you can provide an example where we can do a select col1, col2...from {an XML string} where something=whatever, then I'd love to see it!
with xml as
SELECT XMLQuery('/rowset/row'
                PASSING xmltype.createxml('<rowset>
                                             <row><col1>Hello</col1><col2>World</col2></row>                         
                                             <row><col1>Hello</col1><col2>Again</col2></row>
                                           </rowset>
                RETURNING CONTENT) as xml
  FROM dual)
select xmlcast(xmlquery('$x/row/col1' passing xml as "x" returning content) as varchar2(30)) as col1,
       xmlcast(xmlquery('$x/row/col2' passing xml as "x" returning content) as varchar2(30)) as col2
from xml;
COL1            COL2
HelloHello      WorldAgain
hmm, not what I wanted.
I wanted:
COL1            COL2
Hello           World
Hello           AgainThanks....
Edited by: user6246156 on Mar 23, 2011 8:53 AM

Similar Messages

  • Difference between upgrdae and migration about oracle database

    Difference between upgrdae and migration about oracle database
    please give the comments

    Well, the question is almost philosophic...<br>
    In 9i, there is a Migration Guide whereas in 10g there is a Upgrade Guide.<br>
    Furthermore, in 9i, there is the command line startup migrate whereas in 10g that's startup upgrade.
    Somebody think upgrade when go to new release, and migration when go to new version.<br>
    Others think upgrade when new version replace database in place, and migration when new version include a move of database.<br>
    Another point of view is : upgrade is for technical, and migration for application/data.<br>
    <br>
    Well, after these explanations, your upgrade/migratation notion will not be more clear, but I think that is not very important, only a terminology game. The most important is to know what you need : new version or new release.<br>
    <br>
    Nicolas.

  • Document about Oracle 10g New Features

    Hi all,
    I would like to share a document I wrote about Oracle 10g New Feature. I hope it would be useful.
    Currently, I am updating the document to include Release 2 features. Any comments or suggestion is appreciated.
    Download link:
    http://www.operflow.com/Oracle_10g_DB_Summary.pdf

    Hi Ahmed,
    Good Work !!!
    I just visit your blog it is very interesting about you and your country.
    Regards
    Taj

  • Not able to view Forms Server version in Help: About Oracle Applications after the forms upgrade 10.1.2.3.0

    Hi all,
    DB:11.2.0.3.0
    EBS:12.1.3
    O/S: Sun Solaris SPARC 64 bits
    I am not able to view Forms Server version in Help: About Oracle Applications after the forms upgrade 10.1.2.3.0 after the forms upgrade 10.1.2.3.0 as per note:Upgrading OracleAS 10g Forms and Reports to 10.1.2.3 (437878.1)
    Java/jre upgraded to 1.7.0.45 and JAR files regenerated(without force option). Able to opne forms without any issues.
    A)
    $ORACLE_HOME/bin/frmcmp help=y
    FRM-91500: Unable to start/complete the build.
    B)
    $ORACLE_HOME/bin/rwrun ?|grep Release
    Report Builder: Release 10.1.2.3.0 - Production on Thu Nov
    28 14:20:45 2013
    Is this an issue? Could anyone please share the fix if faced the similar issue earlier.
    Thank You for your time
    Regards,

    Hi Hussein,
    You mean reboot the solaris server and then start database and applications services. We have two databases running on this solaris server.
    DBWR Trace file shows:
    Read of datafile '+ASMDG002/test1/datafile/system.823.828585081' (fno 1) header failed with ORA-01206
    Rereading datafile 1 header failed with ORA-01206
    V10 STYLE FILE HEADER:
            Compatibility Vsn = 186646528=0xb200000
            Db ID=0=0x0, Db Name='TEST1'
            Activation ID=0=0x0
            Control Seq=31739=0x7bfb, File size=230400=0x38400
            File Number=1, Blksiz=8192, File Type=3 DATA
    Tablespace #0 - SYSTEM  rel_fn:1
    Creation   at   scn: 0x0000.00000004 04/27/2000 23:14:44
    Backup taken at scn: 0x0001.db8e5a1a 04/17/2010 04:16:14 thread:1
    reset logs count:0x316351ab scn: 0x0938.0b32c3b1
    prev reset logs count:0x31279a4c scn: 0x0938.08469022
    recovered at 11/28/2013 19:43:22
    status:0x2004 root dba:0x00c38235 chkpt cnt: 364108 ctl cnt:364107
    begin-hot-backup file size: 230400
    Checkpointed at scn:  0x0938.0cb9fe5a 11/28/2013 15:04:52
    thread:1 rba:(0x132.49a43.10)
    enabled  threads:  01000000 00000000 00000000 00000000 00000000 00000000
    Hot Backup end marker scn: 0x0000.00000000
    aux_file is NOT DEFINED
    Plugged readony: NO
    Plugin scnscn: 0x0000.00000000
    Plugin resetlogs scn/timescn: 0x0000.00000000 01/01/1988
    00:00:00
    Foreign creation scn/timescn: 0x0000.00000000 01/01/1988
    00:00:00
    Foreign checkpoint scn/timescn: 0x0000.00000000 01/01/1988
    00:00:00
    Online move state: 0
    DDE rules only execution for: ORA 1110
    ----- START Event Driven Actions Dump ----
    ---- END Event Driven Actions Dump ----
    ----- START DDE Actions Dump -----
    Executing SYNC actions
    ----- START DDE Action: 'DB_STRUCTURE_INTEGRITY_CHECK' (Async) -----
    Successfully dispatched
    ----- END DDE Action: 'DB_STRUCTURE_INTEGRITY_CHECK'
    (SUCCESS, 0 csec) -----
    Executing ASYNC actions
    ----- END DDE Actions Dump (total 0 csec) -----
    ORA-01186: file 1 failed verification tests
    ORA-01122: database file 1 failed verification check
    ORA-01110: data file 1:
    '+ASMDG002/test1/datafile/system.823.828585081'
    ORA-01206: file is not part of this database - wrong
    database id
    Thanks,

  • [ask] about oracle sql injection and escalation

    Hello,i'm student , i'm studying oracle,now i want to research about oracle sql injection,i had read some tuttorial such as *'Hacking Oracle From Web,Advanced SQL Injection In Oracle Databases,Oracle Hacker HandBook ...'* but when i try to demo on localserver (11.0.1.6) but not run,and this is my demo
    -- first,i created table users
    create table users (name nvarchar2(50),pass nvarchar2(50))
    -- then i created procedure with system user
    create or replace procedure system.adduser(u nvarchar2,p nvarchar2)
    as
    begin
      insert into users values(u,p);
    end;
    -- grant execute privilege to oc user
    grant execute on adduser to oc
    -- login with user oc and create a procedure
    create or replace procedure sqli
    as
    begin
      execute immediate 'grant dba to oc';
    end;
    -- and then,i run system's procedure
    declare
    begin
      system.adduser('admin','admin'' ; execute immediate  ''declare begin sqli() end;');
    end;
    i hope oracle master help me to i can understand and improving my knowledge
    Thanks

    The best forum for this is probably Forum Home » Java » SQLJ/JDBC
    Presumably you are refering to oracle.sql.TIMESTAMP. While this is intended to (and does) correspond to java.sql.Timestamp it can't be a subclass because it needs to be a subclass of oracle.sql.Datum.

  • Can we have everything about Oracle in one drive?

    Hello, everybody,
    We got a backup database server. Since it is just for backup, we don't want to spend too much $ on this one.
    My question is: can we have everything about Oracle installled in the same drive?
    It means that Archive, Redo Logs, Oracle system itself, the data, etc will be loaded into one single drive.
    Is that OK?
    Any input will be highly appreciated?
    thx.

    It means that Archive, Redo Logs, Oracle system itself, the data, etc will be loaded into one single drive.Here's a piece of advice though, partition it to look like your prod server... it will make life much easier when moving datafiles.
    ~Jer

  • Please suggest me the best way to start learning about Oracle Purchasing.

    Hi,
    I have started reading about Oracle Procurement. I have an over all idea of how ERP functions. Anyhow I am like a fresher to ORACLE APPS. Can you pleasesuggest me what is the best way to start learning about Oracle Purchasing.
    Is it is throuhg user guides or some thing else..... can you please specify the references also.......
    Thank you so much.

    If you have a sponsorship, I would recommend taking classes with Oracle University. The other resources are documentation, functional and technical depending on what your interests are.
    If you can load Vision database or access vision database (I think solutionbeacon offers a free account to login and play around), that will be another resource as well.
    As you learn, join as much user groups like this one, and review all questions and answers in the discussions to understand and learn more.
    Hope this helps.

  • Daily and weekly repoort about Oracle DB status/statistics to management

    Hi,
    My management asked me to send them a daily and weekly repoort about Oracle Databases status/statistics etc. I like to know which kind of report mostly other DBA use.
    Thanks in advance

    - A - wrote:
    Thanks sb92075
    They want some thing like...
    1-) CPU and RAM utilization. easy OS statistics
    2-) Database Statisticslike what exactly?
    3-) Database Performance which metrics show "database performance"?
    4-) Database Storageeasy OS statistics
    Edited by: sb92075 on May 27, 2012 10:03 PM

  • Basic Questions about Oracle E-Business Suite

    I am just now starting to learn about Oracle E-Business Suite.
    I am an Oracle DBA, and I want to become an "Oracle Apps DBA".
    The following questions pertain to the DATABASE side of E-Business:
    *(1)* Is "Oracle E-Business Suite", and "Oracle Applications 11i" the
    same product?
    *(2)* Is Release 12, the current version of E-Business Suite?
    *(3)* What is the Release of E-Business Suite that most Businesses are
    currently using?
    *(4)* I want to use 1GB of RAM, for the Laptop, that I want to install
    E-Business Suite on, and it will be running under Oracle
    Enterprise Linux -- Will this type of setup be OK for building a
    personal training and learning environment (especially RAM size)?
    *(5)* How much disk space do I need, just to do a basic install (no
    demo databases)?

    Hi,
    *(1)* Is "Oracle E-Business Suite", and "Oracle Applications 11i" the
    same product?Yes, it even includes R12.
    *(2)* Is Release 12, the current version of E-Business Suite?Yes, the most recent versions of R12 are (12.1.1 and 12.1.2).
    *(3)* What is the Release of E-Business Suite that most Businesses are
    currently using?Depends, some customer still on 11i while other customer managed to upgrade to R12 (or did a fresh installation/implementation of R12).
    *(4)* I want to use 1GB of RAM, for the Laptop, that I want to install
    E-Business Suite on, and it will be running under Oracle
    Enterprise Linux -- Will this type of setup be OK for building a
    personal training and learning environment (especially RAM size)?1 GB RAM is not enough, I would suggest you have 4 GB RAM (or more if possible).
    *(5)* How much disk space do I need, just to do a basic install (no
    demo databases)?This is documented in the installation manual, please refer to it to get the hardware requirements.
    Oracle Applications Installation Guide: Using Rapid Install
    http://download.oracle.com/docs/cd/B53825_03/current/acrobat/121oaig.pdf
    Regards,
    Hussein

  • I need info about Oracle classloading

    Please tell me where I can find out about Oracle app server classloading. I have done document searches on the Oracle and Orion sites. Thanks.

    repost

  • Information about Oracle Utilities CCB SDK

    Hi,
    Colud you please help me about Oracle utilities(CC&B) Software Development Kit (SDK).
    1.Information of Oracle CC&B SDK ?
    2.Verision of the Oracle CC&B SDK?
    3.Size of the Oracle CC&B SDK?
    4.Where can i downlaod the Oracle CC&B SDK & schema editor?(Actually we tried in edelivery.oracle.com but we find only v1.5.20 and current we are using cc&b version 2.3.0)
    5.Development Guide?
    Thanks in Advance
    Siva

    I had these problems too..
    I suppouse you're installind TAX (ETM) so the library you need is lib/spl-tax-2.2.0.jar'
    On the other hand, the othe 'lib/ojdbc5-11.1.0.6.0.jar' eclipse is asking for. I changed it for 'lib/ojdbc5-11.1.0.7.0.jar'
    After change these libs I can run the generator and deploy scripts even when i don't know jet how to develop.
    Dou you have some cookbooks for developing (algorithnms, modify native clases, ect) you'd like to share??
    Thanks a lot.

  • About Oracle CRM On Demand Integration package

    Hi All,
    We are using Staging Environment version of Oracle CRM On demand.
    I find description about Oracle CRM On Demand Integration package which can creates a seamless front- and back-office user experience with prebuilt integrations between Oracle CRM On Demand and Oracle E-Business Suite, Siebel CRM, and JD Edwards EnterpriseOne.
    Do we have to pay for this package, if do, how much?
    I can't find any price information on oracle website.
    Thanks!

    Hi, Yes it is paid and has its own technical pre-requisites to deploy and use the same. I believe you may have to speak to your Oracle sales representative to get the pricing related info
    -- Venky CRMIT

  • All about Oracle Coherence 3.6

    Hai Gurus,
    anybody know about Oracle Coherence 3.6, i want to more details about this, any tutorial ? pls help me

    You mean something like http://www.oracle.com/technetwork/middleware/coherence/overview/index.html - which is the first result in a Google search for "oracle coherence?"
    John

  • What is so good about Oracle Database?

    Dear Sir,
    The project that I'm working on is using Oracle database. Therefore, I don't have not much experience in other rdbms.
    Sometime my customer ask, what is so good about oracle compare to others like ms sql server, sybase, informix, mysql and so on.
    So, hope someone can give some distinctive strength about Oracle database. This is important for me as well as customer so that we can understand that why using Oracle database is the right choice.
    Please advise.
    Thanks.

    i use napster to discover new music. if i really like it, i track down the CD. 28k wma's or mp3s or whatever sound pretty bad. you're not right about them sounding like cassettes. i think you are forgetting just how bad cassettes sound. most 28k's i've heard sound better then cassettes, but paying $9.99 for 28k tracks....NO WAY. $3 for 28ks? sure the upside of 28ks over cassettes tho is the fact that you can transfer the files around from player to player and mp3s dont get stretched out in the sun :smileyvery-happy:

  • My thread is gone! Is it undesired to post bugs about Oracle Products here?

    A few days ago i posted a thread here about a bog in ODP.NET Driver 10.2.0.2.10 Beta
    Now this thread seems deleted.
    Is it undesired to post bugs about Oracle Products here?

    Thank you Mark for the info.
    The practise to delete posts without any comments casts a damning light on Oracle and can gives the impression that oracle the way of repairing bus is to hide them.
    For a cutomers like me that invets time to analyze issues in oracle software and invets time again to post them here to help Oracle it is very disappointing to see that my posts are delete without comments.
    Oracle should think about that mistreating their customers is not a fine way. This is unsuitable for giving custumers the feeling that Oracle is intrested in their problems.
    The right way would be to delete the content of a post intead of the complete thread and give a small comment why it has ben removed.
    Sorry for this harsh post, but in the last monts i am more and more disappointed about the faultiness of Oracle products, the slowness of Oracle Support and the false promises regarding to meeting deatlines.
    I have the feeling to be on a sinking ship with Oracle.
    This Forum here is sometime a ray of hope but the rest of Oracle...

  • Let me know about oracle apps

    i am a trainee software engg.
    can u let me know about oracle apps/financials etc.
    i m keen to know about it as in near future i may be working on it.
    let me know where do i get the technical know how etc.
    null

    <BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by Navin Kapoor ([email protected]):
    The following websites may be helpful to you
    www.oracle.com www.technet.oracle.com www.metalink.oracle.com and
    ofcourse the appscommunity
    Thanks
    Navin<HR></BLOCKQUOTE>
    Hi Navin!
    I found that so many of queries were answered by u to the queries posted here.
    Can you please answer to my following queries?
    1. How will be the future of Oracle financials? i.e. I want to choose my career
    towards oracle financial..Currently I'm
    working with a financial application(m/f)
    2. Who are the major clients for
    oracle financials in US?
    3. Is it possible to attend OCP exams only
    with theoritcal knowledge(w/o doing any
    practicing on computer).
    I will appreciate if u can send ur reply to
    [email protected]
    Thanks,
    kishor
    null

Maybe you are looking for

  • Two Libraries on one computer? Is this possible?

    Hi- I am helping my parents get their ipods up and running. Is it possible to have two ipods/separate libraries on one computer? If so, do I need to download itunes 7 twice? My dad already has his library up and running on the computer and I need to

  • I have a brand new iMac and can't get youtube site to open.

    We just purchased a new 27" iMac.  There are seven other computers on the network (Macs and PC) and all others can load the web page.  When I type in the URL with either Safari or Chrome no page ever appears.  All other web sites load no problem.  An

  • Issue in downloading excel from SM37

    Hi Experts, I am facing a weird behavior in SM37, I am not able to download all pages of a particular program in excel format on the other side I am able to download 100-500 pages of spool of another programs. In that program's spool, when I am downl

  • Spry Accordion Image Issue

    I have inserted a Spry Accordion in Dreamweaver CS5, however, I'm having issues with the viewing of the tabs on load, on hover, etc. I want a dark blue tab on load, have it change to a wavy red white tab, and when opened go to a dark blue tab with a

  • MAC Address Cloning?

    I am currently connected to my dorm room network with my AirPort Extreme successfully. However, when connecting for the first time, you are prompted to enter a username and password on a web page which authenticates your machine for the first time. T