How to identify and delete objects after failure of registering XML schema

Hi,
I have tried to register a XML schema with many global elements but failed.
I have checked the view DBA_XML_SCHEMA and found that there is an entry for this failed XML schema and the disk spaces would not be freed after the failure of registration as well.
I have tried DBMS_XMLSCHEMA.deleteSchema() with DELETE_CASCADE_FORCE but failed with ORA-31000: Resource is not XDB document.
How can I identify and delete the objects for this failed XML schema and free up the disk space ?
I would not prefer to use 'DROP USER ... CASCADE' since there are other objects owned by this user.
Thanks in advance.

you can get them from user_objects.
but you have to identify them manuallly if your schema has other objects other then created by the xml schema creation process.
Note these objects will be cases senistitive. so you should enclose them with double quotes during deletion.

Similar Messages

  • How to Retrieve Last Deleted objects after activating

    Hi Experts
    Is there any way to get back the deleted objects. I mistakenly deleted few imp objects and now wondering do XI have some versioning to get that back.
    Regards
    DhanyaR Nair

    Hi,
      If you know the exact name of deleted object you can get the same with this technique.
    Step 1: Create a dummy object with the same name [of course your namespace etc should be same as your deleted object]
    Step 2: Activate the new object
    Step 3. Check the History [From menu] and you can select the previous versions you were deleted.
    Hope this helps.
    Regards,
    Ananth

  • How to identify and delete duplicate records??

    Hi Experts,
    I'm new to Datawarehousing and ETL. Currently the company is using the siebel 6 that houses the data for all line of business and cognos is used for report development.
    Now they are doing siebel 6 to siebel 8 migration.
    One time data load will be done from siebel 6 to siebel 8.Only 60% of the data will be used from Siebel 8 for reporting. rest of the report will still be generated from siebel 6.
    Daily sync between siebel 6 and siebel 8 may not occur on daily basis which will compel the need to continue with existing siebel 6 to staging area ETL .Data from siebel 6 to staging area will come using ETL process.
    New informatica ETL's will be build to extract data from siebel 8 to staging area.If above is the case then there will be duplicity in the data in staging area coz data is coming from both siebel 6 and siebel 8.
    How to remove the duplicity in staging area??
    Thanks in Advance

    Hi,
    Are the loads from Siebel 6 -> DW and the load from Siebel 8 -> DW happening in seperate execution plans or in the same execution plans?
    I would think that the easiest way to handle this would be to load the Siebel 8 data into the staging table first (as I assume for recored in both 8 and 6, 8 would be the master), and then when loading records from 6 into the staging table just do a lookup against the INTEGRATION_ID of the rows already in the staging table, if the rows are already there then don't add them.
    Of course this is going to slow down the SDE stage and sounds like a lot of hassle, another option is to make sure that the Siebel 6 and Siebel 8 source are defined as seperate datasources i.e Siebel 6 = 1 and Siebel 8 = 2, that way always load Siebel 8 data first and then when loading the siebel 6 data don't update the record if it was last updated by datasource 2, this will mean data from Siebel 8 will never be overwritten by data from Siebel 6.
    Regards,
    Matt

  • How can I identify and delete duplicates on the latest version of itunes?

    How can I identify and delete duplicates on the lastest version of iTunes?

    The show duplicates/show exact duplicates features have been left out of iTunes 11. Rumor suggests they will be restored in the next build. In the meantime I have written two Windows scripts to make playlists of Duplicates and Exact Duplicates, either from a selection of tracks or the entire library. Note that, as with the iTunes feature, this list makes no distinction between "originals" and "dupes", you have to decide which is which.
    There is also my DeDuper script for automatically removing duplicate copies but keeping one remaining copy of each set. This can preserve ratings, play counts, playlist membership, etc. which are lost in a manual clean up. Please take note of the warning to backup your library before deduping. See this thread for background on deduping and the script.
    If you want to manually remove duplicate tracks use shift-delete to remove selected tracks from the library as well as the playlist. Keep one of each repeated group of files and don't send the others to the recycle bin unless you are sure that there are multiple files on the disc as opposed to multiple entries to the same file. Same advice to backup applies.
    tt2

  • How do I identify and delete duplicate photos in iPhoto. It is so simple on iTunes

    How do I identify and delete duplicate photos in iPhoto? It is so simple on iTunes

    There really is no easier way than to use Duplicate Annihilator. It costs about $8.00 but will save you lots of time.

  • How can I identify and delete duplicate photos

    is there a way to identify and delete duplicate photo's in I photo?

    No one is suggesting that you download third party "crap". What was suggested is that you download a well established and supported 3rd party application. As to why there isn't a "'delete your stupid duplicate photo' option", you'll need to ask Apple that. Apple aren't here. This forum is for Users to help other Users. As to why you import stupid photos, you'll need to ask yourself.
    Regards
    TD

  • Locate, identify and delete/disable a remote sharer/user

    How can I locate, identify and delete/disable a remote user?
    I have already disabled guest account, disabled and locked share files etc.yet I still suspect they are accesssing my hard drive and internet.
    I also want to know if it is possible to find a username of the remote user on my hard drive that can possibly identify them?
    Thank you

    Thanks Eric, i have turned on the firewall recently, and after your advice just checked the terminal. As I had to re-install OS X Ia am the only user in history, But that is Useful to know for the future. At times, when I open security, share or accounts in System Preferences I find the padlock unlocked. Especially of late when I am very mindful of double checking they are locked before I close down that window.
    I Suspect an ex friend who is a workmate accessed my computer or took my original start-up disks, then returned without knowing, is there any way of knowing if they have access on their computer from using those discs somehow? I Know it sounds all too 'conspiracy theory', lol,  but it is something I've had brought to my attention.
    Thanks, your advice is appreciated

  • How to identify the related job, after sheduling a infopackage?

    Hi,
       Anybody explain that how to identify the related job after scheduling a infopackage in the BW system?

    Hi Aditya,
    Goto SM37->Search Job BI_BTCH*
    Job Prefix.
    http://help.sap.com/saphelp_nw70ehp1core/helpdata/en/da/0318025d64a84b94542641ed77ee74/content.htm
    Hope it helps.
    Thanks and Regards,
    MuraliManohar.
    Edited by: Muralimano on Jun 5, 2011 9:38 AM

  • How to archive and delete messages in SXMB_MONI

    Hi all,
    We are working on SAP XI Development environment wherein we have File to IDoc scenario running twice daily and creating many messages.
    How to archive and then delete these messages ?
    Does accumalation of past messages affect the speed and performance of the system?
    Thanks in advance.
    Ajay

    Ajay,
    For step by step procedure of how to archieve and delete messages in XI go through the urls:
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/402fae48-0601-0010-3088-85c46a236f50
    Delete Messages SXMB_MONI
    http://help.sap.com/saphelp_nw04/helpdata/en/0e/80553b4d53273de10000000a114084/frameset.htm
    Too many questions on Archive/Delete messages.
    ---Satish

  • How to find and delete duplicate photos in photo app

    how to find and delete duplicate photos in photo app

    Photos has no built-in tools to screen the library for duplicates. It relies on the warning on import, that should prevent you from importing duplicates.
    Once duplicate shave been imported, delete them manually, or use third-party tools.
    For example, these new apps claim to work with Photos:
    Power photos:  Fat Cat Software
    Duplicate annihilator: Brattoo Propaganda Software - Products
    PhotoSweeper: http://overmacs.com/photosweeper.html

  • How to identify objects created by registering xml schema

    Hi Everyone,
    We are using Oracle 9i Rel2. I have registered an XML schema and I saw that there were several objects created for it table ,some types and a trigger . For some build purposes I want to exclude all of these objects which are associated with xml schema and should be able to drop and recreate the whole of oracle schema.
    I see the user_types table does not have any parameter to indicate that these are autogenerated or are different. In user_types they look like any other type that a user would have created. Do any of you know how to differentiate these types created by registering XML schemas from the normal types.
    Thanks for your help

    There is no way I know of to differentiate between a type created by Schema Registration and another Type. You can query the XML Schema itslef to get the Typenames it relies on.
    SQL> --
    SQL> SQL> select nvl(extractvalue
    2 (
    3 value(ct),
    4 '/xs:complexType/@name',
    5 'xmlns:xs="http://www.w3.org/2001/XMLSchema"
    6 xmlns:xdb="http://xmlns.oracle.com/xdb"'
    7 ),'Local Complex Type') COMPLEX_TYPE,
    8 extractvalue
    9 (
    10 value(ct),
    11 '/xs:complexType/@xdb:SQLType',
    12 'xmlns:xs="http://www.w3.org/2001/XMLSchema"
    13 xmlns:xdb="http://xmlns.oracle.com/xdb"'
    14 ) SQL_TYPE
    15 from user_xml_schemas,
    16 table
    17 (
    18 xmlsequence
    19 (
    20 extract
    21 (
    22 schema,
    23 '//xs:complexType',
    24 'xmlns:xs="http://www.w3.org/2001/XMLSchema"
    25 xmlns:xdb="http://xmlns.oracle.com/xdb"'
    26 )
    27 )
    28 ) ct
    29 /
    COMPLEX_TYPE
    SQL_TYPE
    PurchaseOrderType
    PURCHASEORDER_T
    LineItemsType
    LINEITEMS_T
    LineItemType
    LINEITEM_T
    COMPLEX_TYPE
    SQL_TYPE
    PartType
    PART_T
    ActionsType
    ACTIONS_T
    Local Complex Type
    ACTION_T
    COMPLEX_TYPE
    SQL_TYPE
    RejectionType
    REJECTION_T
    ShippingInstructionsType
    SHIPPING_INSTRUCTIONS_T
    Local Complex Type
    ROOT_T
    COMPLEX_TYPE
    SQL_TYPE
    Local Complex Type
    P222_T
    10 rows selected.
    SQL>

  • Identify and delete duplicates

    What´s the easiest way to identify and delete duplicate pictures in the iphoto library?
    (And no - doing it manually is not an option! )

    For dealing with duplicates in iPhoto check out Duplicate Annihilator

  • How to create and delete an Endeca application in Windows

    HI,
    can you please help me in ,
    how to create and delete an Endeca application inWindows machine not in Linux Machine.
    Thanks.....

    Hi,
    Steps to create an Endeca Application are clearly given in Getting Started Guide.
    http://docs.oracle.com/cd/E38680_01/Common.311/pdf/GettingStarted.pdf (Chapter 6 : Deploying a Reference Application)
    If you want to create an endeca application so as to integrate with Product Catalog system such as ATG using ATG 10.1.1 or above , then create an endeca application using the discover-data-catalog-integration reference application. Steps for doing this are documented in ProductCatalogDTGuide
    http://docs.oracle.com/cd/E38679_01/ToolsAndFrameworks.311/pdf/ProductCatalogDTGuide.pdf (Deploying the Product Catalog Application)
    To delete an Endeca Application that you have created in Windows/linux
    1. Navigate to the control directory of the application that you want to remove and execute the script
    runCommand.bat --remove-app (Removes the provisioning information with EAC admin console)
    2. Remove the instance configuration files for the application using the emgr_update command line utility
    emgr_update.bat host localhost:8006 app_name My_app action remove_all_settings prefix My_prefix
    3. You can then explicitly delete the directory in the Endeca_apps directory where you have initially created your application.
    If you are using discover-data-catalog-integration, you can remove the CAS Record Store Instances by navigating to CAS/bin directory and executing
    ./component-manager-cmd.sh delete-component -n {YOUR_APP_RECORD_STORE_NAME}
    Thanks,
    Shabari

  • How to insert and delete fragments by clicking a button and how to script it?

    I have a  question on livecycle. I am collecting the inventor information as a bunch of text fields, each asking for a certain details. Please see below
    Now I have grouped them all in to one fragment called inventordetails and saved as .xdp file, so I could reuse this entire block. I want to add a button underneath this block, “ADD MORE INVENTORS” and when clicked this will insert another block and so forth and so on. However I was not sure as to how to insert and delete a fragment. Do  you think you can help with this? I appreciate any help in this regard.
    Best
    Subashini

    1.       I have a subform1 which is flowed
    2.       I have subform2 inside subform1 which is positioned
    3.       Inside subform2 I have two buttons 1. ADD INVENTOR 2. DELETE INVENTOR
    4.       Also inside subform1 I insert a fragment called inventor
    Now I want to script the buttons so that when clicked the inventor fragment either gets inserted again or deleted.
    I greatly appreciate any help in this regard.
    Best
    Subashini

  • How to export and import from AIX to solaris a whole schema with different

    how to export and import from AIX to solaris a whole schema with different character set
    import done in US7ASCII character set and AL16UTF16 NCHAR character set
    import server uses WE8ISO8859P1 character set (possible charset conversion)
    Import terminated successfully with warnings.

    The conversion between the character sets on the two servers are handled automatically. Export from one server will export the data given the character set defined on that server. Import into another server will import the data given the character set defined on that server, performing a conversion if necessary. This can be a problem when going from single-byte to a multi-byte character set. In your case, the warning is simply for your information, shoule be no real problem given the character sets you're using.
    For more info...check out (pertains to 9i):
    Export
    http://download-west.oracle.com/docs/cd/B10501_01/server.920/a96652/ch01.htm#1006791
    Character Ste Migration
    http://download-west.oracle.com/docs/cd/B10501_01/server.920/a96529/ch10.htm#1656
    HTH

Maybe you are looking for

  • Error while selecting entity for composantEO

    Hi, Briefly, I do an example of displaying a list of components (and already it works properly), but when I added a link to the removal of components I have encountered an error Voila details function code delete public void deleteComposantMethod(Str

  • IHow do I know what the bit details are on an image and how to change it?

    I wanted to send some wildlife images to a magazine who required us to send  quality size 10 saved at 300dpi and then to send a copy of the same images at 72dpi and 8bit NOT 16bit. I have no idea what they are requesting so please:- 1) How do I disco

  • What does it take to get promotional bill credit applied?

    I've contacted customer service three times for a total of 90 minutes spent on the phone with them.  All I'm looking to do is get Verizon to follow through on the promotion of $150 per line credit for each data line ported. 1st CALL--"We filled out a

  • Weird tracking numbers in character palette in Photoshop CC

    Hi all, Have Adobe changed the way tracking values are interpreted in Photoshop CC? Just that if I select a line of text like normal and then set the tracking to eg. -50 when the change of tracking is made to the text this -50 value then turns into -

  • Flash 9 Key press Problem

    Using Flash 9, when running an application from the IDE, key presses of K which are supposed to do something in my app are being captured by the IDE and doing something there instead. Didn't happen in flash 8, is there a way to disable / fix this.