How to cripple your XML DB environment with one statement

The following COULD CRIPPLE YOUR ENVIRONMENT. It's just an example so you will be aware of the possibility...
(Tested it on a VMware environment with Oracle Enterprise Edition 10.2.0.3.0 fresh installed, See also here: http://technology.amis.nl/blog/?p=1444)
The following is executed under SYSTEM...
SQL> conn system
Connected.
SQL> CREATE OR REPLACE TYPE XMLTYPE AS OBJECT
2 (X INT
3 )
4 /
Type created.
SQL> CREATE TABLE XML_TEST
2 (ID NUMBER(10,0) NOT NULL
3 ,FAKE_XML XMLTYPE
4 )
5 /
Table created.
SQL> desc XML_TEST
Name Null?
Type
ID NOT
NULL NUMBER(10)
FAKE_XML
XMLTYPEOne would expect somehow that XMLTYPE would be a "preserved" word.
Mark, if you see this post; what do you think?. I will test and create an SR for this, BUT are there other "types" which should be protected?
Message was edited by:
mgralike

To show that it shouldn't be happening or it is at least inconsistent behavior, two examples one with "XMLTYPE" and one with "DATE"...
SQL> CREATE OR REPLACE TYPE MYDATE AS OBJECT
  2  (X INT
  3  )
  4  /
Type created.
SQL> drop type mydate;
Type dropped.
SQL> CREATE OR REPLACE TYPE DATE AS OBJECT
  2  (X INT
  3  )
  4  /
CREATE OR REPLACE TYPE DATE AS OBJECT
ERROR at line 1:
ORA-02302: invalid or missing type name
SQL> CREATE OR REPLACE TYPE XMLTYPE AS OBJECT
  2  (X INT
  3  )
  4  /
Type created.
SQL> show user
USER is "SYSTEM"Message was edited by:
mgralike

Similar Messages

  • How to develope a XML-RPC client with PL/SQL

    Anyone know how to develop a XML-RPC client with PL/SQL?
    I've oracle 8i.
    Have you some example of code?
    Thanks
    Paolo

    So, you actually want to create the physical directory using JAVA?
    Then see:
    http://www.oracle-base.com/articles/8i/shell-commands-from-plsql.php

  • How many apple tv can I connect with one account?

    how many apple tv can I connect with one account?

    there are 2 recent posts that suggest issues over 5, one where someone was trying to troubleshoot for a friend or client as they couldn't keep more than 5 connected, and the other where somone had more than 5 but was using 2 separate itunes libraries to share the load - not sure if that was with the same or differing AppleIDs.
    I guess there is always the possibility that things kight vary from one itunes version to the next even unintentionally to allow more.
    AC

  • How many icloud account can we create with one ios device???

    how many icloud account can we create with one ios device???

    i need more then 1 account as i owe itunes some money and i cant access my app store so if i change my icloud account .....all my previous history wont be tracked

  • Hi, how can i have a live chat with one of the people from apple so i they can help me with my problem?

    hi, how can i have a live chat with one of the people from apple so i they can help me with my problem?

    https://getsupport.apple.com/Issues.action

  • How can I transform xml to idoc with idoc_xml?

    Hi,
    I have to send shipping orders and receive shipping confirmations via the idoc_xml webservice. At this time I am able to send the shipping orders to a destination. Now I am trying to send xml data back to the idoc_xml service who should transform this xml (SHPCON) to an idoc and "books" this shipping confirmation automatically. But how should the xml look like to get this work?

    hi
    good
    its idoc_xml or idoc_xml_transform
    go through the below link hope it ll help you to solve your problem
    Check with below link :
    Re: IDOCS_OUTPUT_IN_XML_FORMAT -- IDOCS_OUTPUT_TO_FILE
    Re: any function module to write-xml schema of a idoctype to an internal table
    /people/michal.krawczyk2/blog/2005/11/13/xi-how-to-check-your-idocs-on-a-web-page-from-sapgui -> this will help you
    thanks
    mrutyun^

  • How to increase your battery health - anyone with similar experiences?

    this is my very own self made instruction of "how to increase your battery health"
    it is the procedure how i have done it serverall times on my powerbook g4 12".
    my stats: 374 cycles, health 86% (3790 of 4400mAh)
    age of my mac: 57month (battery bit newer)
    **if you to try this: it is on your own risk!**
    **this may not be suitable for mac newbies**
    **be sure to read this twice before you do it once!**
    you will need:
    -a pocket lamp or comparable light (to see anything on your sreen when it is dark --> light from the back through apple logo)
    -coconutbattery (coconut-flavour.com/coconutbattery) or comparable programm to track your battery information in realtime
    -activity monitor
    -cool enviroment (to ensure your fans don't have to work that much)
    -some time and patience
    the intructions:
    step1: load your mac until the orange light turns green
    step2: disconnect the power adapter
    step3: use your mac until 15-25% battery life (track this information in your menu bar)
    step4: slow down your activities. the order of the following actions depend on your usage of your mac:
    __close programms that use lots of cpu/gpu to ensure the fans slow down to 0rpm (!!)
    __turn off everything that needs battery power: airport / bluetooth / speakers / etc.
    __eject dvd or cd
    __close all programms with important data
    __eject idisk / .dmg files in your finder (this is not only a matter of data security)
    __dissonnected from peripherals such as ethernet / internet / mouse / keyboard
    __use lower brightness level
    __open activity monitor to ensure that your hard drive activity is very low, may be you need to close more active programms, close activity monitor when hard drive activity is very low
    __open system preferences >> energy saver preferences >> choose longest battery life
    when your are ready with those actions go on and ensure you are able to connect to power adapter with your mac quickly (be able to charge - don't do it yet!)
    step5: be patient. now it should take some time until your battery level goes down to 3-5%
    now there should be no programm running.
    do not open any programm now!
    do not have a look at your dashboard!
    now your mac should be really quiet:
    -no fans (0rpm!)
    -nearly no hard drive activity!!
    -->> if this not the case break go on with step 11&12, try again in a week or two
    -->> if you are ready go on with step6
    step6: open coconutbattery und use the lowest brightness level
    play with your trackpad to ensure your screensaver won't start. waste time until you are at 1-2% battery life.
    step7: take your lamp and spot through the transperent apple logo, position your coconut battery window somehow that you can see the current battery charge und the maxium battery charge in the spot of your lamp through the apple logo.
    step8: go from the lowest brightness level to the level under the lowest brightness level (a dark screen)
    step9: watch your current battery charge carefully und keep on playing with your trackpad to ensure your screensaver won't start.
    step10: there is kind of battery buffer made of approximately 1% (once when my "current battery charge" was 3624mAh and this kind of buffer was at 36mAh)
    to empty this kind of battery buffer takes much longer as you might expect!
    when your current battery charge turns under this kind of battery buffer, your maximum battery charge should change. hopefully it is higher or stays the same. when it is lower now: i'm sorry - i have warned you. may be you have to go through this 'how to' more carefully!?
    step11: plug in your power adapter before the battery is cero!
    step12: load until the orange light turns green
    step13: if it was helpful do not repeat it more than once a week, better once a month
    -->webcal://www.apple.com/batteries/images/notebook_icalreminder.ics
    (via: http://www.apple.com/batteries/notebooks.html)
    anyone with similar experiences about increasing battery health!?
    (yes, i'm sorry for my poor english, i've tried my best)

    Me too! My battery lasts for 10 minutes. It is awful and I am on my 4th power adapter since they keep breaking too.
    From coconut battery: Maximum battery charge 310mah, original 4400, age of mac 45 months, 140 cycles.
    From system profile:
    Battery Installed: Yes
    First low level warning: No
    Full Charge Capacity (mAh): 310
    Remaining Capacity (mAh): 213
    Amperage (mA): -1205
    Voltage (mV): 11557
    Cycle Count: 140
    I went to an apple authorized retailer and they said nothing I can do if it is out of warranty.. is this true?

  • How to configure BODS in network environment with NAT ?

    Hi Team,
    Now we are working on POC of BO Data Services 4.0 with SI partner and they reported us that  a communication error (error code:BODI-1241023) occurred when they started a job from Designer. 
    They can do it without any problems in the following two cases.
    1. from Designer which is installed in the CMS/JobServer machine
    2. from Designer which is installed in local PC within internal network (without firewall / NAT) 
    That is, the cause is Firewall with NAT(Network Address Translation) between Designer and JobServer/CMS.
    And, they can log on to CMS/JobServer with NAT environment, however, cann't start a job from Designer.
    The port #3500 for JobServer is open. They confirmed that they could log on to the JobServer in the event log
    of the JobServer.
    That is,  Designer -> CMS/JobServer communication is OK, but JobServer -> Designer communication must be NG.
    Could you advise us how to configure BODS both client and server sides in the network environment with NAT ?
    Thanks and best regards,

    HI Buddy,
    You can achieve this by $FLEX$, create first value set, and assign it to first field. Create second value set based on first value set using $FLEX$.
    follow steps mentioned in the bellow link
    http://erpschools.com/articles/usage-of-flex

  • How do i synce two different ipods with one computer??

    i recently purchased an ipod 5th generation for my other half which i have set up an account for and comes up when i plug in but the home page always comes up with my ipod stuff which is a 4th generation ipod. i have no problem with mine as it stores songs etc but when i plug the other one in it deletes whats on there and i have to manually tick all the songs again to sync back on to it. is this normal?? i am using a windows xp and have no issues with the computer and my ipod just the other one. i also have updated itunes to itunes 9 so the 5th generation ipod can download stuff. it seems to store songs and then when i go to download or update it takes them off and am back to square one!!!! please help!!

    Is the following document of any help with that?
    [How to use multiple iPods with one computer|http://support.apple.com/kb/HT1495]

  • How do I run two Apple IDs with one computer and sync music content?

    I have a single PC which I have added all of the music to one my log in. My wife and I have Iphones and I want to run separate accounts for itunes, but sync music content from the single source to both phones. Whenever I have tried to do this in the past, it starts to sync all app to both phones. I tried to therefore have separate log ins on the pc itself, but when I have tried this, the music content does not update on my wifes itunes library, after I have added music to mine (ie imported a CD), even though I have linked my wife's music library for itunes purposes to my music folder (hopefully that makes sense!!). Can anyone help as this is driving me mad, otherwise I will just have to run from my account and delete all of my wifes apps etc whenever I sync my phone, and vice versa.
    Thanks!!!
    Jeremy

    Is the following document of any help with that?
    [How to use multiple iPods with one computer|http://support.apple.com/kb/HT1495]

  • How to print calendar for the year with one month a page in sharepoint 2010?

    Currently, I can print a SharePoint 2010 calendar one page at time when the month view is displayed.  Is there an easy way to print all the months at once with one month on each page?
    Thanks for any tips!

    I can't vouch for it but a useful looking CodePlex project might help with this.
    If you've permissions to install it and test, have a look at this. It does mention Calendars specifically too.
    http://spprintribbonbutton.codeplex.com/
    I'd be interested in your feedback for this one.
    Steven Andrews
    SharePoint Business Analyst: LiveNation Entertainment
    Blog: baron72.wordpress.com
    Twitter: Follow @backpackerd00d
    My Wiki Articles:
    CodePlex Corner Series
    Please remember to mark your question as "answered" if this solves (or helps) your problem.

  • How to active 2012 RDS & domain server with one license

    I install Windows server 2012 for using remote apps on the virtual machine, and it require  installing the domain server to create the remote apps. Now I want to know how can I active both server with one license?
    Wayne Xuan

    those maybe helpful?
    http://social.technet.microsoft.com/Forums/windowsserver/en-US/b8163381-7a9c-42e8-9a16-8aa06bc976ba/rds-licensing?forum=winserverTS
    http://www.microsoft.com/licensing/Default.aspx
    Best,
    Howtodo

  • In the bookmark panel, how can I close all bookmarks files with one click?

    Every time I want to have just the files on the panel I have to close them on by one to have a genéral view of my bookmarks organisation. It would be so nice to have a feature to close everything with one click. But so fa I have been unable to find a solution. Thanks if you can help!

    Maybe Autoclose Bookmark&History Folders: http://www.sephiroth-j.de/1/mozilla/#ac-btf

  • How to delete copies in two projects with one master

    Hello,
    I drug images from one project to another, thinking they would be moved. I see that it instead made a copy and now both projects have the same image, but they apparently share the same master. When I choose "delete version" with one of them, the message that comes up is "delete master image and all versions", presumably because there is only one version in the project. If I go ahead and continue the deletion, I lose the image from both projects (and the master).
    Is there a way to get out of this conundrum?
    Many thanks, Steve

    So, that means that if I use an image in an album, it's master is forever locked in location and can't be moved? That seems like a severe drawback.
    I know I've moved referenced masters for images in albums without a problem by using 'relocate masters', but you are saying that dragging the image from one project to another will make two versions referencing a single master rather than moving the master?
    I don't understand why I can't just delete one of the versions, then. They each seem to think they are the version of the master.

  • How to show two seperate pivot tables with one select column

    Hi All
    My client wishes to have two pivot tables, one showing positive results and the other showing negative results.
    For Example:
    DIMENSION
    BUSINESS A          1000
    BUSINESS B          500
    BUSINESS C          100
    DIMENSION
    BUSINESS A          -1000
    BUSINESS B          -500
    BUSINESS C          -100
    Is it possible to then select the different DIMENSION with one select column for both?
    Thanks

    Not sure I got it right try this
    for Number column pull twice and set col*-1
    use 2 pivot table for each number type
    cool as ~ http://cool-bi.com

Maybe you are looking for

  • How to clear invoices with different house banks

    Hi, i have posted 3 invoices to one vendor now i want to clear 2 invoices from one house bank ( citi bank) and 1 invoice from another house bbank (abn amro ) how can i make settings in fbzp ? thanks inadvance for ur answer points wil b assigned Regar

  • Problem converting long AVI to MOV

    I am trying to convert one hour AVI file into a MOV format using Quicktime PRO on a PC.If I try and convert a short AVI video of less than 5 minutes I can can convert it and change the settings of both Video and Audio to suit my specification.If howe

  • Photos not appearing in apps outside iPhoto

    I recently added 2 new events in iPhoto and everything looks fine in iPhoto. The problem is that the 2 new events and the photos/videos inside those 2 events do not appear in iMovie. iMovie sees everything but the 2 most recent events. I have rebuilt

  • 3PR posting must be before Payroll posting?

    Hi Experts, I have a general question regarding posting after payroll. Our end user told me that we should do 3PR posting before we even create payroll posting documents. But they don't know why we need to keep doing with this order. Any reason from

  • Error : Portlet could not be contacted ?

    Hi , Working on Portal 9.0.2.3 , integrated an java application as Portlet to the tab by registering as new portlet provider . It went on fine till now , recently when i click that particular tab i get this error ERROR : PORTLET COULD NOT BE CONTACTE