Delimiter/Marker inside ddl

Hi
I am using DBMS_METADATA to dump the ddl of database objects into a variables using JDBC. I need to seperate each block so that there is a delimiter/marker after every column, constraint, indexe etc inside ddl. Looking for some sugesstions on how to do this, can I include a dilimeter option within the dbms_metadata.get_ddl(...) statement?
Thanks

That misunderstanding is why posters need to provide very specific examples of what they are trying to do. Samples of all inputs and a sample of the expected output.
Instead of DBMS_METADATA.GET_DDL get SXML instead. That will give you a simplified XML version of the metadata with every element surrounded by begin/end element tags. You can then further process it:
1. using XPATH queries to query the elements you want to process.
2. using an XSLT stylesheet to access and manipulate the elements you want to process (which is what Oracle does to give you the DDL in the examples I posted.
SELECT DBMS_METADATA.GET_SXML('TABLE', 'DEPT', 'SCOTT') FROM DUAL
  <TABLE xmlns="http://xmlns.oracle.com/ku" version="1.0">
   <SCHEMA>SCOTT</SCHEMA>
   <NAME>DEPT</NAME>
   <RELATIONAL_TABLE>
      <COL_LIST>
         <COL_LIST_ITEM>
            <NAME>DEPTNO</NAME>
            <DATATYPE>NUMBER</DATATYPE>
            <PRECISION>2</PRECISION>
            <SCALE>0</SCALE>
         </COL_LIST_ITEM>
         <COL_LIST_ITEM>
            <NAME>DNAME</NAME>
            <DATATYPE>VARCHAR2</DATATYPE>
            <LENGTH>14</LENGTH>
         </COL_LIST_ITEM>
         <COL_LIST_ITEM>
            <NAME>LOC</NAME>
            <DATATYPE>VARCHAR2</DATATYPE>
            <LENGTH>13</LENGTH>
         </COL_LIST_ITEM>
      </COL_LIST>
      <PRIMARY_KEY_CONSTRAINT_LIST>
         <PRIMARY_KEY_CONSTRAINT_LIST_ITEM>
            <NAME>PK_DEPT</NAME>
            <COL_LIST>
               <COL_LIST_ITEM>
                  <NAME>DEPTNO</NAME>
               </COL_LIST_ITEM>
            </COL_LIST>
            <USING_INDEX>
               <INDEX_ATTRIBUTES>
                  <PCTFREE>10</PCTFREE>
                  <INITRANS>2</INITRANS>
                  <STORAGE>
                     <INITIAL>65536</INITIAL>
                     <NEXT>1048576</NEXT>
                     <MINEXTENTS>1</MINEXTENTS>
                     <MAXEXTENTS>2147483645</MAXEXTENTS>
                     <PCTINCREASE>0</PCTINCREASE>
                     <FREELISTS>1</FREELISTS>
                     <FREELIST_GROUPS>1</FREELIST_GROUPS>
                     <BUFFER_POOL>DEFAULT</BUFFER_POOL>
                     <FLASH_CACHE>DEFAULT</FLASH_CACHE>
                     <CELL_FLASH_CACHE>DEFAULT</CELL_FLASH_CACHE>
                  </STORAGE>
                  <TABLESPACE>USERS</TABLESPACE>
                  <LOGGING>Y</LOGGING>
               </INDEX_ATTRIBUTES>
            </USING_INDEX>
         </PRIMARY_KEY_CONSTRAINT_LIST_ITEM>
      </PRIMARY_KEY_CONSTRAINT_LIST>
      <PHYSICAL_PROPERTIES>
         <HEAP_TABLE>
            <SEGMENT_ATTRIBUTES>
               <PCTFREE>10</PCTFREE>
               <PCTUSED>40</PCTUSED>
               <INITRANS>1</INITRANS>
               <STORAGE>
                  <INITIAL>65536</INITIAL>
                  <NEXT>1048576</NEXT>
                  <MINEXTENTS>1</MINEXTENTS>
                  <MAXEXTENTS>2147483645</MAXEXTENTS>
                  <PCTINCREASE>0</PCTINCREASE>
                  <FREELISTS>1</FREELISTS>
                  <FREELIST_GROUPS>1</FREELIST_GROUPS>
                  <BUFFER_POOL>DEFAULT</BUFFER_POOL>
                  <FLASH_CACHE>DEFAULT</FLASH_CACHE>
                  <CELL_FLASH_CACHE>DEFAULT</CELL_FLASH_CACHE>
               </STORAGE>
               <TABLESPACE>USERS</TABLESPACE>
               <LOGGING>Y</LOGGING>
            </SEGMENT_ATTRIBUTES>
            <COMPRESS>N</COMPRESS>
         </HEAP_TABLE>
      </PHYSICAL_PROPERTIES>
   </RELATIONAL_TABLE>
</TABLE>
I thing we may have beat this one to death;)

Similar Messages

  • When I click on Firefox it opens with a box that says "Foxfire is installing your updates and will start in a few moments-. " then it says "Software Update Failed (in blue) with an exclamation mark inside a yellow triangle) The update could not be install

    When I click on Firefox the first time it says "Foxfire is installing your updates and will start in a few moments…. (with a green bar)" then it says "Software Update Failed (in blue) with an exclamation mark inside a yellow triangle)
    The update could not be installed. Please make sure there are no other copies of Firefox running on your computer, and then restart Firefox to try again." When I click the ok, Firefox opens up. If I open another Firefox window with the previous one still running, it doesn't give me any of these messages, it just opens normally.
    == This happened ==
    Every time Firefox opened

    If you can't install on top of the current installation then you need to delete or rename the current Firefox program folder to do a clean install.
    It is possible that your security software is using or locking files, so you can try to temporarily disable that software during the installation.

  • Upgraded to ios6 on my iphone 3gs and email is not displaying images. It has a blue box with a blue question mark inside

    I just upgraded to ios 6 on my iphone 3gs and I noticed on a couple of incoming emails that the images and information are not being displayed. There is a blue square box with a blue question mark inside. I already tried to press the home key and power key to restart. The email still does not display correctly. I went on my laptop to retrieve that same email and I was able to see the graphics and information, so the problem is on the iphone. I received two emails like this, so I'm missing all the important information. I also tried to retrieve my email through the internet browser and I still have the same problem. Any suggestions? Thanks!

    I forgot to mention that I have an Ipad 2 also and I can view the email information on there also. I received an email from Party city and it said to click here to print out the coupon. So I click the coupon and there is the little blue box with the question mark. This is the first time I've seen this happen, as I have printed out the coupons before. Maybe it has to do with the IOS6 update, because this just started to happen right after the update.

  • Box with a question mark inside instead of the picture or graphic

    I notice when I open i-Tunes 10.1.1 or the App Store most everywhere there are supposed to be graphics or pictures there is just a box with a question mark inside?
    I am up to date on all software, what do I need to do to get the graphics to come up?
    Thanks

    "OS X Lion includes a new feature called Lion Recovery that includes all of the tools you need to reinstall Lion, repair your disk, and even restore from a Time Machine backup without the need for optical discs."
    See: http://support.apple.com/kb/HT4718
    If this doesn't work, it is likely that your HDD has failed, or is failing.

  • On Ibooks Author, my programmed image for the Chapter page no longer shows up on new pages, just appears as a question mark inside a box, How do I fix this?

    On Ibooks Author, my programmed image for the Chapter page no longer shows up on new pages, just appears as a question mark inside a box, How do I fix this? Please help, its the same when I try and copy and paste the same image within Ibooks author.

    https://discussions.apple.com/message/24420017#24420017
    You may have  moved or removed content on your page or  its possible you  used the"Adjust Image" and over sharpeed one or more images.
    I assume  you mean it does not show up of new Chapter pages... have you checked the  template?
    Where you see the  ?    you  need to either reduce teh  box outline size - or drop anther  copy of the original image onto  it, it may  fill the  ? box or sit on top.... delete the ? box.
    If its Chapter page only related, its  better doing this in the template.
    Is you image .jpg or .png?

  • My computer suddenly refuse to start. When I turn it on it gives the startup sound but the screen is grey and after a while a little folder icon with a question mark inside turns up. It doesn't blink. What to do? Nothing happens if I try to start up from

    As I say my computer, a mac mini refuse to start. When I turn it on it gives the startup sound and the screen turns grey and stay that way for a long time. And in the end a small folder icon with a question mark inside (it doesn't blink) turns up in the middle of the screen.
    I have tried to start up from the installation CD holding down the C key on the keyboard. Same result. I have tried different key combinations while starting up. No result or rather same result. Nothing. Is the computer suddenly dead?
    I was about to buy a new computer but I need access to my data on this one (I write this on an iPad) but hven't yet found a way.
    Anybody have any good advice?
    I thought it was a software problem, that the computer couldn't find the startup software or something and maybe it is, but I am beginning to fear that it could be a hardware problem.

    You need to re install OSX. If you have the dmg file downloaded via torrentz this is how you can create a bootable external HD or Flash drive (8 GB+)
    https://discussions.apple.com/message/23957654#23957654
    Peace
    Harry

  • What does the icon of a folder with a question mark inside mean?

    After an overnight power outage I tried to turn on my iMac this morning, but all I got was clicking sounds and a gray full screen with the icon of a folder with a question mark inside it, blinking. (There's no tool bar that appears anywhere). What does that mean?
    I've tried unplugging the system and waiting a while before attempting another boot. Same screen.
    I recently (a month ago) upgraded to Snow Leopard from my original OS X software. Never had this sort of a problem before.The iMac was purchased around 2005 or 2006. Intel Dual Core processor.
    Thanks for any help on this.

    Thanks, Paul, for the prompt reply.Obviously, your answer isn't what I wanted to hear, but feared. When I get home tonight I'll try finding the install disk and booting from that. Fortunately, I still have a MacBook Pro that is running fine.  Incidentally, I have a Western Digital external Hard Drive that has very little, if anything on it. But since I can't open anything on the iMac, I guess I'll have to see if the install disk works before I try to figure out IF I can use that WD-External drive temporarily rather than replace the HD on the iMac. Any clues on what a replacement drive and labor runs for that sort of iMac repair?
    j

  • My laptop seemed to be frozen and I could not shut down from the menu. I held the power button for a long time and finally it shut off. When I started it again it turned on to show a black screen with an icon of a file folder with a question mark inside

    Any idea what a blank screen with a flashing folder with a question mark inside of it means???

    Ambinder55,
    it means that the forced shutdown corrupted some portion of the internal disk’s filesystem. Which version of OS X is installed on your MacBook Pro?

  • My new mac mini (3 month) didn't start up,all that appeared was a white screen and a flashing folder with a question mark inside it.

    My new Mac mini (3 month) didn't start up, all that appeared was a white screen and a flashing folder with a question mark inside it.
    I followed by recommendations from 'Everything Mac': "shut it down by pressing and holding the power button for about 5 seconds.
    Then hold down the Option key and press the power button again to start up the Mac mini. Keep holding down the Option key until
    the Mac mini starts up."
    But I got a Wi-Fi button only to chose and connect the local network. I connected to my network and I can't use this connection
    becouse no icons.
    Could you please help me?

    Your Mini (running 10.6.4) should have come with grey-colored install disks. Now is the time to put them into service. Turn on your computer so that there is power to accept disk #1 into the optical drive. Once  the disk is in the drive, shut off the computer by holding the start button down until it powers off. Then turn it on this time holding down the "C" key to make the computer boot from the disk. The question mark that you saw indicates that the computer cannot find a bootable volume. This can happen due to corrupted system files or an improper shutdown etc. Once you are in the "Installer" you can choose Disk Utility from the Utilities Menu in the menu bar. Use it to repair the disk and to see if that can solve your trouble.  

  • What is a grey file with a question mark inside doing on my start up screen

    when i start up my computer instead of the normal apple symbol showing up i get a grey folder that has a white question mark inside and it is flashing. I know that that means that the computer cannot find the operating system. can anyone help or give me a solution to this problem and a way i can fix it.

    There are four general causes of this issue:
    1. The computer's PRAM no longer contains a valid startup disk setting when there aren't any problems with the disk itself. This can be checked for by pressing the Option key and seeing if the drive appears.
    2. The internal drive's directory structure has become damaged. This requires usage of an alternate bootable system to perform the repair.
    3. Critical system files have been deleted. This requires usage of an alternate bootable system to reinstall them.
    4. The internal drive has died or become unplugged. This is the most likely case if the computer took a sharp impact or there are unusual sounds coming from the hard drive's location.
    (79144)

  • Why are some websites displayed with added question marks inside black diamonds

    Numbers are displayed with question marks inside black triangles before and following, possibly as column separators.
    == This happened ==
    Every time Firefox opened
    == I attempted to access financial websites

    Can you post a link?
    You can try a few different encoding settings: "View > Character Encoding" like Western ISO-8859-1 or another Western encoding or UTF-8
    You can also try to switch on Auto-Detect: "View > Character Encoding > AutoDetect > Universal"
    A diamond with a '?' usually indicates that a character is missing in the font that is used on a website or the wrong encoding is used.
    You get the '?' on websites that use an 8 bit encoding like ISO-8859-1 or a Windows encoding like Windows-1252.
    This issue can happen if content was copied from one 8 bit or Unicode encoding to another encoding.

  • Question marks inside diamond

    Hello all,
    I was trying to find a topic to reply to, but everything with this issue has been archived. So here's a new post. When I send Apple Mail to someone and they reply, my original message is peppered with diamond shapes with a question mark inside. No logical culprit...double space, no... sometimes after a period, sometimes not. Here's a paragraph I screen shot.
    http://www.rainbowtech.info/questionmarkd.jpg
    I don't know if the receipient sees this or not. Text with these stray symbols doesn't retain them when pasted into a text file. When pasted into Photoshop CD2 with text, they come out as a question mark. They don't paste as a graphic. They don't show up in TextSoap or CleanText.
    Whasup? Any ideas?
    Shari

    Is there an encoding that is better when sending to
    people from that Windows world?
    Yes, rich text with uniform UTF-8 encoding.
    I read the linked page.
    Then you have instructions for Fix B and Fix C to do that.
    isn't the real solution for Apple to
    correct this in Leopard?
    I would not count on it. Apple is a hardware company. How much priority do you think they are likely to give to reprogramming a tiny piece of a tiny piece of what matters to Apple in order accomodate incredibly stupid bugs in a program produced by the word's foremost software company?
    If the fixes are not convenient and it's a big problem, best to use another email client like Thunderbird or Entourage.

  • File folder with question mark inside of it

    I have an older MacBook and a couple of days ago upon turning on the Mac a file folder appeared with a question mark inside of it. What does it mean and how do I fix the problem. Thanks

    That folder with the question mark icon means that the MacBook can't find the boot directory. That can either mean it can't find the hard drive or the Operating System data on the hard drive is somehow corrupted.
    Put your install DVD into the optical drive and reboot. As soon as you hear the boot chime, hold down the "c" key on your keyboard (or the Option key until the Install Disk shows up). That will force your MacBook to boot from the install DVD in the optical drive.
    When it does start up, you'll see a panel asking you to choose your language. Choose your language and press the Return key on your keyboard once. It will then present you with an Installation window. Completely ignore this window and click on Utilities in the top menu and scroll down to Disk Utility and click it. When it comes up is your Hard Drive in the list on the left?
    If it is then click on the Mac OS partition of your hard drive in the left hand list. Then select the First Aid Tab and run Repair Disk. The Repair Disk button won't be available until you've clicked on the Mac OS partition on your hard drive. If that repairs any problems run it again until the green OK appears and then run Repair Permissions.
    If your hard drive isn’t recognized in Disk Utility then your hard drive is probably dead.

  • HT2433 My laptop opened with a grey flashing file folder with a question mark inside it .  How to to open my laptop!  I have tried fir e clising several times and restArting  nope nada!

    My laptop opened with a grey flashing file folder with a question mark inside it .  How do  I open my laptop!  I have tried force closing several times and restArting  nope !  nada!  Suggestions?

    That folder with the question mark icon means that the MacBook can't find the boot directory. That can either mean it can't find the hard drive or the Operating System data on the hard drive is somehow corrupted.
    With 10.4, 10.5 or 10.6 put your install DVD into the optical drive (CD/DVD drive) and reboot. Be sure to either use the disc that came with your Mac, or, if you installed a later Mac OS X version from disc, use the newer disc. As soon as you hear the boot chime, hold down the "c" key on your keyboard (or the Option Key until the Install Disk shows up) until the apple shows up. That will force your MacBook to boot from the install DVD in the optical drive.
    Or if you are running 10.7 Lion, 10.8 Mountain Lion or 10.9 Mavericks, boot from the recovery partition (Command +R on boot) and use Disk Utility to repair your OS 10.7, 10.8 or 10.9 partition.
    When it does start up, you'll see a panel asking you to choose your language. Choose your language and press the Return key on your keyboard once. It will then present you with an Installation window. Completely ignore this window and click on Utilities in the top menu and scroll down to Disk Utility and click it. When it comes up is your Hard Drive in the list on the left?
    If it is, then click on the Mac OS partition of your hard drive in the left hand list. Then select the First Aid Tab and run Repair Disk. The Repair Disk button won't be available until you've clicked on the Mac OS partition on your hard drive. If that repairs any problems run it again until the green OK appears and then run Repair Permissions. After repairing use Startup Disk from the same menu to choose your hard drive for restarting from your hard drive.
    If your hard drive isn’t recognized in Disk Utility then your hard drive is probably dead.

  • Suddenly I see the usual blue box with question mark inside mail messages instead of pix

    Suddenly I see the usual blue box with question mark inside mail messages instead of pix.
    That did not happen before.
    It happened only on certain pages with Safari, like the google news feed which did not display pix.
    However, this new mail problem is really disturbing.
    I checked Little Snitch and port 80 is open.
    I checked java pref.
    I am at a loss.
    PLEASE HELP!

    Suddenly I see the usual blue box with question mark inside mail messages instead of pix.
    That indicates that your Mail preferences are setup to not display remote images in email messages. You should check Mail->Preferences->Viewing and make surre the box to 'Display remote images in HTML messages' is checked.
    I checked java pref.
    Java has nothing to do with Mail, or displaying images in it or any browser.

Maybe you are looking for

  • Disabled Channel & Match EQ's-what did I do? How do I undo it?

    I'm not sure what happened or what I did. I admit I changed a few of the .tiff files in the resources folder (long story)-hopefully it has nothing to do with messing with those. I obviously made a copy of the folder beforehand and it's now back to th

  • Other document type for credit memos in MIRO

    Dear, i would like to use a seperate document type for credit memos posted with MIR0 compared to RE for invoices. I created a new Z transaction. And now I thought that I could enter this new transaction code in OMR4 (tablle V_169F), but I can not add

  • N73 v4.0723.2.0.1 is a TRIAL FIRMWARE...

    the latest Nokia N73 Firmware is a TRIAL FIRMWARE by NOkia... N73 v4.0723.2.0.1 (RM-133) Becuase the v3.0713.1.0.2 firmware was released on NSU about 2 - 3 weeks ago n Nokia do not make firmware for each handset 1 month later n so on... for example N

  • Simple stepper motion control

    Hello all, I am completely new to motion control and my head is spinning with all the options so please bear with me, all help is much appreciated. I am trying to build a control which will perform point to point movement of something like this: http

  • Anyone had a 100% successful KitKat update w/later software versions?

    Look around here, there are several threads about botched updates, which appears to stall the tablet where it won't boot past the splash page. From reading the threads It seems that most of these were MV7A- version software, but some were MV7B- versi