Command to list and export structure of all tables.

Is there a command in oracle which can list and export the structures of all the tables( table, column difination, constraints, etc)?
Thanks!

If you have Enterprise Manager Java Console (in 10g it's a part of Client, in 9i - Server, if I'm not wrong) you can use it to create a report about the database and instance structure (you can choose what you want to have on the report).
You can also use UTL_FILE.PUT_LINE procedure and write the data from DBA_OBJECTS dictionary to the file.
Cheers,
Olimpia
Message was edited by:
Olimpia

Similar Messages

  • If I help out a friend & download a free app (through my iTunes account) on their new iPod Touch, will their device automatically be added to my itunes device list (and they can see all my contacts, pix, music etc)?

    If I help out a friend & download a free app (through my iTunes account) on their new iPod Touch, will their device automatically be added to my itunes device list (and they can see all my contacts, pix, music etc)?

    Just wondering, what context is this in?
    First up, is your iTunes account part of an iCloud account?
    Secondly, if it's a free app, why don't they just download it? If they are having trouble finding it on the App Store, but you can find it easily, you can share the link for it via email with them, and if they view that email on their iPod they can just tap the link and it will open the App Store to that App for them, so they can download it themselves.
    If you were to go to the Store settings pane and sign in with your iTunes account, that should only provide the possibility for download items from your iTunes account, such as purchased apps, music and movies. However, if you signed in, downloaded the app, and then went back and signed out of the account again, there shouldn't be any access apart from the app you downloaded. This is provided you sign in using the Store section of the Settings app, not the iCloud section.
    One problem they will have if you download this in your account instead of theirs, in order to download updates for that app, they will need you to enter your iTunes password to download the updates. Doing that doesn't give them access to anythign to do with your account other than that update, but they will be unable to receive updates for it without your password. They would also likely be unable to sync the app onto their computer, as their computer would not be Authorised with your iTunes account.
    If you can answer some of the questions I've asked, I may be able to suggest alternate ways for you get them the app on their device.
    Hope this all helps a bit

  • EXPORT SCHEMA 'S ALL TABLES AND PROCEDURES BY EXPDP

    how i can export schema's all tables and procedures using expdp.
    when i am giving expdp usr/pass schemas=scott directory=export_dir dumpfile=280606.DMP logfile=280606.log tables=*
    but it is giving error.
    pls help
    regards
    Prabhaker

    You only need to specify parameter USER or TABLES , no need of both
    specify USER=SCOTT then it will export all objects in SCOTT

  • Import data from few tables and export into the same tables on different db

    I want to import data from few tables and export into the same tables on different database. But on the target database, additional columns have been added
    to the same tables. how can i do the import?
    Its urgent can anyone please help me do this?
    Thanks.

    Hello Junior DBA,
    maybe try it with the "copy command".
    http://download.oracle.com/docs/cd/B14117_01/server.101/b12170/apb.htm
    Have a look at the section "Understanding COPY Command Syntax".
    Here is an example of a COPY command that copies only two columns from the source table, and copies only those rows in which the value of DEPARTMENT_ID is 30:Regards
    Stefan

  • Search Help User Exit (if "one" entry in hit list, skip hit list and export)

    Hi everyone,
    I hope you can help me. I spent many hours on this one but I just could not find a solution (by myself and by searching google and searching the SCN).
    Problem like thread subject.
    I have the requirement to create a search help using search help exit. Done so far. My search help works fine. There´s a Sel Opt and I get the hit list with several entries. "But" I have one problem. If there is only one entry I have to skip the hit list and just export the value straight to the caller.
    I just don´t get it to work. I used the function module F4UT_PARAMETER_RESULTS_PUT but there was no value in shlp-interface-value. Record Tab was written, but value is not exported.
    Maybe you got some hints for me?`
    Best regards
    Dominik

    Hi Raymond,
    I passed as followed:
    ***CALL FUNCTION 'F4UT_PARAMETER_RESULTS_PUT'
    ***  EXPORTING
    ***       PARAMETER         = 'DOC_ID'
    ***       VALUE             = ls_disp_data-doc_id
    ***       fieldname         = 'DOC_ID'
    ***  TABLES
    ***       SHLP_TAB          = SHLP_TAB
    ***       RECORD_TAB        = RECORD_TAB
    ***        SOURCE_TAB       = lt_disp_data
    ***  CHANGING
    ***       SHLP              = SHLP
    ***       CALLCONTROL       = CALLCONTROL
    ***  EXCEPTIONS
    ***       PARAMETER_UNKNOWN = 1
    ***       OTHERS            = 2.
    LT_DISP_DATA is filled with one entry only. DOC_ID is the name of the field I want the value to be set.
    Update: It´s fixed. I reset the whole thing. I did set callcontrol-step = 'RETURN' after function call, "but" at the end of the coding there was a leftover from previous tries (an empty if callcontrol-step = 'RETURN' -shell). By setting this condition explicitly the "standard flow" was interrupted.
    So, in short: I had to delete the empty if-condition for callcontrol-step = RETURN and then it worked.
    Thank you all for your feedback, hints and suggestions!
    Best regards,
    Dominik

  • Is it possible to addItem to a list and export the new value(s) via XML?

    Greetings:
    I have a dynamic form.
    I am using designer 8.2
    I have a drop-down list bound to the schema.
    I can import data into the form via dataconnection.
    The drop-down displays the data from the dataconnection.
    I have a button that uses addItem() to append a value into the drop-down.
    All looks well.
    If I save the form, or export the XML, the newly added value is not saved.
    Is there any way to add items to a list, and have them become part of the XML?
    Thank You
    Mark

    Would you be able to provide an example?
    It appears appendChild is not documented in the scripting reference.
    I am having difficulty setting the object reference to the XML data
    Thank You for your assistance.
    Mark

  • Can we export DATA from all tables in a schema?

    Hi,
    I have a question; Can we export all the DATA from all the tables present in the schema to any source (eigther CSV, TXT, DAt, etc..)?
    Or
    Can I have a PL/SQL procedure to display DATA from all Tables in a schema?
    With Best Regards,
    - Naveed

    Hi,
    This is pretty much what you need.
    DECLARE
    V_COUNT NUMBER;
    v_sql varchar2(1000);
    IN_OWNER_NAME VARCHAR2(100) := 'AP' ; -- SCHEMA NAME
    TYPE T_COL_NAME is table of varchar2(1000) index by binary_integer;
    v_col_tbl t_col_name;
    BEGIN
    FOR i in
    (SELECT object_name
    FROM dba_objects
         WHERE owner = IN_OWNER_NAME
         AND object_type ='TABLE'
    and rownum < 2)
    LOOP
    v_sql := 'SELECT COUNT(*) FROM ' || i.object_name ;
    EXECUTE IMMEDIATE v_sql INTO V_COUNT;
    if v_count > 0 then
    v_sql := 'SELECT * FROM ' || i.object_name ;
    select column_name
    bulk collect
    into v_col_tbl
    from DBA_TAB_COLUMNS
    WHERE TABLE_NAME = I.OBJECT_NAME
    AND OWNER = IN_OWNER_NAME;
    -- start selecting the column and exporting using the column names selected.     
    end if;
    if v_col_tbl.count > 0 then
    for i in v_col_tbl.first .. v_col_tbl.last
    loop
    DBMS_OUTPUT.PUT_lINE(v_col_tbl(i));
    end loop;
    end if;
    DBMS_OUTPUT.PUT_lINE( i.object_name || '-' || v_count);
    END LOOP;
    END;
    - Ronel

  • Iterating thru an array list and displaying it on the table.

    Hi All,
    I have done table binding.
    Say if I have a list of values(pojo's) in the request scope. I need to iterate thru the list and display the attributes enclosed inside the pojo on a JSF page.
    How do I achieve it?
    Thanks
    - Gana.

    Hi,
    it depends on what you mean by "I have done the table binding". A Pojo can be used as the base for a data control, which then can be bound to a table through this (using ADF).
    If you want to copy values to a table, you can access the binding container in a managed bean (you didn't tell the technology you use so i assume JSF). Check SRDemo on how to access the binding container in a managed bean (see SRMain for example)
    Frank

  • How to execute unix command through odi and store the result in table

    I have to reconcile  if data is loaded in table from csv file or not . I have to create a oracle data integrator package/interface/procedure to execute unix command to count number of rows in the csv files and store the count result in a table then i have to query the loaded table and count number of rows there and store in the table and have to compare is counts are same or not,  Please assist me how to make package/interface/procedure to  execute unix command and store result in oracle table.
    Thanks in Advance

    Use ODI OS command tool in the ODI package.
    create an interface in ODI using LKM File to Sql and the output file generated with the csv file's row count as a source and the db table(where the count needs to be stored) as a target

  • Fields missing in import and export structure PPCO0001 - PPCO0023

    Hello Experts,
    I'm hoping that you can help me.  I am trying to add some logic in user exits to default data and do some checking in production orders.  It would be great if I could talk to you about what Iu2019m trying to do and the problem that Iu2019m running into.
    My main problem is that in the exits provided (enhancements PPCO0001 u2013 PPCO0023), most of the time either fields being imported or the field being exported do not include the fields that I want to change or check.  Iu2019m wondering if there is some way to just pull-in the data and change/check in addition to what is already available to the exit. - Can I append the structures?
    Hereu2019s an example below:
    u2022     PPCO0006 Enhancement to predefine fields in order header
    With this enhancement you can take fields from the order header in your own program and process them or define values for them and transfer the changed data again to the standard system. The transfer to the system takes place before you reach the order header screen. EXIT_SAPLCOZF_003   Exit for predefining fields in order header.  The fields in the order header (structure CAUFVD) are placed in the function exit. All the fields that you can define or change are defined in the structure HEADER_CUST. The contents of HEADER_CUST is transferred back to CAUFVD on leaving the function exit.
    Problem 1.
    The documentation sounds greatu2026. Seems like the right place --  all the data I need is supposed to already be in CAUFVD_IMPu2026. BUT HEADER_CUST and HEADER_CUST_EXP do not have the fields that I need change.  If I try to append the structure and include additional CAUFVD fields I either get a warning in the activation because of duplicate fields or If I try to add them as Zfields the program doesnu2019t take the change data because it does a move-corresponding from HEADER_CUST_EXP to CAUFVD and the Z fields donu2019t match.  - what is the correct way to change header values if the fields that you want to change are not already defined in the structure HEADER_CUST?
    Problem 2.
    It seems that this exit occurs prior to pulling in the data from the standard routing (which would normally populate CAUFVD-PLGRP ... at the time of the exit this field is blank so i cannot use it to determine the value for another header field.  I could get around this by reading directly PLKO but that won't help me if I cannot add CAUFVD-FEVOR as a field availble for changing/defaulting.
    Problem 3.
    If I get around Problem 2, I still have another problem.  In PPCO0007& PPCO0001 I'm trying to change the user status to block the order from being printined until it passes the validation check and is error free.  In PPCO007 I can block the order from being saved or in PPCO0001 I can raise a message that an error was found... but I need to change the user status at the same time as rasing the error or blocking the save.
    Thanks so much for any guidance that you can give.

    Dear,
    When you do so, in the PPCO0001 customer enhancement, you should carry out follow actions based on the status changes since the contents of the STATUS_TABLE and STATUS_TABLE_OLD  Exist is EXIT_SAPLCOBT_001  and  CALL FUNCTION 'STATUS_CHANGE_EXTERN'
    For details refer the OSS note 86553
    Hope it will help you.
    Regards,
    R.Brahmankar

  • Safari 5.1.4 reading list and bookmark tabs are all messed up

    I opened safari and all of my tabs/reading list were thrown way outta wack.  The reading list is "empty" but has hundreds of greyed out stuff behing the glasses and explanation.  Everytime i add something to the list it adds the item multiple times, 1 at first then 2 for the next item ad infinitum.  My once polished tabs bar has been riddled with old stuff that I never put there.  What the heck happened?!

    After updating to Safari 5.1.4 my reading list is very messed up - instead of saving one webpage link in the reading list, it mutiplies the same webpage to fill up my entire viewable screen - i counted at least 40 duplicated webpages for one 'add page' readling list.
    It also duplicated every previous webpage link I had in the my reading list 40 times each - and when i scroll to the very bottom of the reading list, i can't find my old 'reading list pages, even when i click the view "all" reading list webpages.  This *****, as I had about 10 reading list webpages to actually read - now i lost 6 because space.

  • How do I write a Java Class that Loads a RPT and exports to PDF All Automatically?

    <p style="margin: 0in 0in 0pt" class="MsoNormal"><font face="Times New Roman" size="2">I am using Crystal Reports for Eclipse and I am trying to create a java class that will do everything independently.<span>  </span>It will take a .rpt file, load it with data from the database and then export that to a pdf file and put that pdf in a specific location with a specific name.</font></p><font face="Times New Roman" size="2"> </font> <p style="margin: 0in 0in 0pt" class="MsoNormal"><font face="Times New Roman" size="2">I am using the Crystal Reports for Eclipse and the sample jsp project does that but I am looking for a java class example that doesn't require human interaction through the website.<span>  </span>I have read the help file and seen snippet examples but I am not seeing a complete example.<span>  </span>Could someone point me in the proper direction of a good example either in the forum or the help file for eclipse?</font></p>

    <p>Hi,</p><p>    If you wanted to achieve this in a JSP page then I would suggest using the JSP Page Wizard as it allows you to select PDF as an output type. You can run the wizard and choose the PDF output and it will automatically generate the required code for you. </p><p>However, as you want to use a Java class then I would suggest downloading the following package of sample code:</p><p><a href="http://support.businessobjects.com/communityCS/FilesAndUpdates/crxi_r2_jrc_desktop_samples.zip">http://support.businessobjects.com/communityCS/FilesAndUpdates/crxi_r2_jrc_desktop_samples.zip</a> </p><p>This package includes a number of sample Java classes that demonstrate how to use the engine. The one that you will be interested in is titled "<strong>JRCExportReport"</strong> </p><p>To make life easier I would suggest trying the class in a Crystal Reports Web Project as the runtime libraries will automatically be in the classpath. </p><p>Anyway, give this a shot and let me know how you make out. </p><p>Regards,<br />Sean Johnson (CR4E Product Manager) <br /><br /> <a href="http://www.eclipseplugincentral.com/Web_Links-index-req-ratelink-lid-639.html">Rate this plugin @ Eclipse Plugin Central</a>          </p>

  • Selecting multiple records from the list and append it into internal table.

    hi
    there is a list of 10 records in the output screen with check boxes. if the user select any 3 records then those records should get appended in some other internal table of same structure.
    this is the requirement. can anybody help me it is very urgent.
    regards
    sami

    Hi,
    Loop at the internal table which contains the value in table control and move it to a work area. apend the work area to the next internal table. Like:
    loop at it1 into wa1 where sel = 'X'.
    append wa1 to it2.
    endloop.
    or
    loop at it1 into wa1.
    if wa1-sel = 'X'.
    append wa1 to it2.
    endif.
    endloop.
    Regards,
    RM

  • Any example to import and export itab to function module

    hi all,
    as the table parameter in function module is obsolete, please advise an example on how to pass in an internal table
    and return back the result in an internal table as well.
    for example, i have itab1 and itab2. By using table parameters i got the following code. Please advise alternative way by using import and export.
    ""Local Interface:
    *"  TABLES
    *"      itab1 STRUCTURE  Zitab1
    *"      itab2 STRUCTURE  Zitab2
    loop at itab1 into wa_itab.
    **do some logic here to assign value to itab2 and return.
      wa_itab2-a = xxx .
      wa_itab2-b = xxx.
    append wa_itab2 to itab2.
    endloop.
    thank you.

    hi,
    suppose you have two structure name struc1 and struc2.
    create table type zitab1 & 2 for both.
    please do the following:
    ""Local Interface:
    *"  IMPORTING
    *"     VALUE(itab1) TYPE  Zitab1
    *"  EXPORTING
    *"     VALUE(itab2) TYPE  Zitab2
    you can avoid to use the obsolete table parameters as well as LIKE in function module creation.
    cheers

  • Import, edit, and export QuickTime document: wise? how to maintain quality?

    Can iMovie HD 6.0.3 be used to import a reasonably-high-quality QuickTime file (Apple Graphics compression), edit it, and export to Quicktime, all resulting in a QuickTime file with the same clarity as the original?
    I have a quicktime file that captures a demonstration on my desktop. It was recorded with SnapZ Pro (with movie option) into this format: Apple Graphics, 889 x 500, 256, IMA 4:1, Mono, 22.050 kHz. (Note: I got 889x500 when I constrained SnapZ to a 16x9 format.)
    I need to clip out sections, rerecord some of the audio, insert snippets of replacement video (re-recorded). I have Quicktime 7.1.3 Pro, but I had this idea it would be easier to do this editing with IMovie HD 6.0.3.
    My problem is that everything I export has noticeably worse quality than the original source. I have tried all sorts of projects (DV, HDV, MPEG-4, ISight). I've tried exports at full quality, lower quality, various expert settings.
    For example:
    - Create a DV-Widescreen project.
    - Import the movie. What I see on the screen is slightly smaller (in both dimensions) than the QuickTime Player shows me, and quite noticeably blurrier.
    - Picking Expert export, I use Compression: Graphics, Depth: Color, Quality: Best, key frame rate 24, Dimensions 889x500, Scale: Letterbox.
    - The QuickTime file displays as the right size, with a tiny black border for letterboxing, and with crummy quality (text has shadows, making it worse than just blurry.) All this despite being 30MB from a 3.2MB original.
    Quite likely, I'm using the wrong tool. I don't have a camcorder - I don't even have a TV - so I don't know any of the jargon. What would be the right tool for this task? Stick to Quicktime Pro?
    MacBook   Mac OS X (10.4.8)  

    How would Final Cut Express work for editing quicktime as above?
    same answer:
    FCE handles dv/NTSC/PAL only ...-
    for sure, you can import "any format/res" ...- with loss of quality, if import doesn't fit standards...- and: FCE is the "more mightier" tool, means, you can easiely arrange two/many videos in one picture, arrange them, position them ...-
    if you want to stay with your original settings, you have to use QTpro (less convenient) or FCP (less cheap) ...

Maybe you are looking for

  • User Exit or BADI in APO to change sales order relevant data while CIF

    Hi Everyone, I require User exit or BADI at APO side to change customer field kunnr of sales order after it enters APO through CIF. My requirement is to replace KUNNR field with KDGRP field of sales order. The data will pass through CIF in APO. Is th

  • Can't copy files to network drop box

    I'm running an Ubuntu server with netatalk (afp server) running and serving a couple afp shares. In one of the shares, I have a drop box directory that is owned by user "foo" and has group "bar". My Mac system username is "dude" and I also have a use

  • Adobe CreatePDF,

    uninstalled in error but no link to redownload help?

  • Alot of wi-fi hotspots don't support PPTP VPNs

    Anyone else using a PPTP based VPN having trouble connecting to open wi-fi hotspots like at airports? On my last trip both airports had free wi-fi hotspots but the iphone/touch was unable to connect using my PPTP VPN service. Do some open hotspots bl

  • Java membership package? Does it exist?

    Hi, I'm looking for a decent membership package written in Java. All i've found was http://www.amember.com/ but unfortunatly its written in PHP. I've searched the web extensively and found eCommerce packages like JadaSite SoftSlate Ofbiz Konakart Ave