showing the structure of the table

Hi all
I can only show the structure of the table in a select query

and

in a select statement, which can be treated after ORDER BY

Please review...

dipuna wrote:
Hi all
I can only show the structure of the table in a select query

You can also use dbms_metadata as

select dbms_metadata.get_ddl('TABLE','EMP','SCOTT') from dual

So what you will get:

  CREATE TABLE "SCOTT"."EMP"
   (     "EMPNO" NUMBER(4,0),
     "ENAME" VARCHAR2(10),
     "JOB" VARCHAR2(9),
     "MGR" NUMBER(4,0),
     "HIREDATE" DATE,
     "SAL" NUMBER(7,2),
     "COMM" NUMBER(7,2),
     "DEPTNO" NUMBER(2,0),
      CONSTRAINT "PK_EMP" PRIMARY KEY ("EMPNO")
  USING INDEX PCTFREE 10 INITRANS 2 MAXTRANS 255 COMPUTE STATISTICS
  STORAGE(INITIAL 65536 NEXT 1048576 MINEXTENTS 1 MAXEXTENTS 2147483645
  PCTINCREASE 0 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT)
  TABLESPACE "USERS"  ENABLE,
      CONSTRAINT "FK_DEPTNO" FOREIGN KEY ("DEPTNO")
       REFERENCES "SCOTT"."DEPT" ("DEPTNO") ENABLE
   ) PCTFREE 10 PCTUSED 40 INITRANS 1 MAXTRANS 255 NOCOMPRESS LOGGING
  STORAGE(INITIAL 65536 NEXT 1048576 MINEXTENTS 1 MAXEXTENTS 2147483645
  PCTINCREASE 0 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT)
  TABLESPACE "USERS"
 

>

in a select statement, which can be treated after ORDER BY

Please review...

read the link below
http://download.Oracle.com/docs/CD/B19306_01/server.102/b14200/statements_10002.htm#i2171079

Tags: Database

Similar Questions

  • How to show the table from library?

    Hello.

    I have some movieClips like box1, box2... Library boxn.

    How can I show all this box on stage using table?

    I know how to show my picture in the window EXIT.

    var boxList:Array = ["box1", "box2", "box3", "Box" 4, "box5"];
    trace (boxList);

    > by the way, why I can't add position to the table as for simple film like on this code clip:

    You can. You can use two table Dimensions as follows:

    var boxList:Array = [["box1", 10, 20], ['box2', 50,20], ["box3", 90: 20], [Box '4', 130, 20], ["box5", 170, 20]];
    for (var i = 0; i)< boxlist.length;="">
    var classRef: Class = getDefinitionByName (boxList [i] [0]) in class;

    var myBox:MovieClip = new classRef();
    addChild (myBox);

    myBox.x = boxList [i] [1];

    myBox.y = boxList [i] [2];
    }

  • FF do not show the table border style

    I have a Web page with css dotted border style table. He appears in IE, but there is only a line around the table in FF. Is there a way to make it appear? Thank you very much.

    {table. MyTable}
    border width: 6px;
    Padding: 15px;
    border-style: dotted;
    border-color: #88aa96 ;}

    ^ Good fishing. There is another false closing flange 6 lines below that you found.

    background-color: #e8e5da ;}

  • How to show the table/entity comment on diagram

    I saw in Jeff Smith slideshare 'my favorite features of SQL Data model' that you can get tables (and the same entities may) show comments/notes incorporated into the symbol of box of each table/entity on the diagram. I looked and looked but can't figure out where to set it. Any ideas? Thank you.

    It is to show 'Comment in RDBMS' - If your descriptions are in the "comment" property, then you can use the transformation script distributed with the product to copy them into 'observations in RDBMS.

    http://www.thatjeffsmith.com/archive/2013/10/Oracle-SQL-Developer-Data-Modeler-4-and-comment-display/

    Philippe

  • Error JavaScript prevents the table of contents, Index, search view

    I produced my RoboHelp HTML project webhelp and got an error javascript (this.maCom [...] (' is null or not an object) when you view the result. See the full error text below. So the table of contents, index and search are not displayed. We'll find the javascript error in the status bar of the browser that says "error on page". I found that if I saw the result of robohelp, the browser that launched shows the table of contents, index and search, but has a security warning about a restriction of running scripts or ActiveX controls. However, when I move the generated webhelp on my production server, the help doesn't have the security warning, but produces the error so that the table of contents, index and search do not show. I had done the same process to generate webhelp about 8 months ago but had no error whatsoever. In fact, this version is still in production and works very well.

    In my search for the problem, I found that it is the same error as message of the forum 4063663 (http://forums.adobe.com/message/4063663). I didn't have a second system with RoboHelp to be able to get other whphost.js, however, I have diff had the file generated with that found in template_stock and found only two different lines. These differences were only to replace a couple of variables with static text so I do not replace this file will solve any problem for me. That is the message of only forum I could find who addressed this issue.

    I was originally on RoboHelp 8.0.0 when I first encountered the problem, but has expanded and patched to version 8.0.2 and still had the same problem. I even created a new simple project. Once I moved the simple project on the production server, it also would display the table of contents, index and search.

    The strange thing is that only 8 months ago, I used the same process to generate webhelp without any errors (on 8.0.0). The only thing I can find is there is a Windows XP patch which affected the generation of webhelp. Furthermore, I also tried chrome and also produces the error.

    I don't know what is causing this problem or how to solve the problem. Anyone have any ideas?

    Versions:
    RoboHelp 8.0.2
    Windows XP
    IE 8.0.6001.18702CO
    Chrome 18.0.1025.168 m


    JavaScript error
    -------------------------
    User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0 .NET CLR 1.1.4322; .NET CLR 2.0.50727; .NET CLR 3.0.04506.648; .NET CLR 3.5.21022; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729;. MS - RTC LM 8; InfoPath.2;. NET4.0C;. NET4.0E)
    Timestamp: Sun, may 2, 2012 16:32 UTC


    Message: Object EXPECTED
    Online: 344
    Char: 2
    Code: 0
    URI: http://server1/robohelp/whphost.js


    Message: 'this.maCom...' is null or not an object
    Online: 171
    Char: 3
    Code: 0
    URI: http://server1/robohelp/whphost.js
    --------------------------

    After further research and testing, I found the update of security for RoboHelp 8 and 9 (http://www.adobe.com/support/security/bulletins/apsb11-23.html) posted as an ad that I had not seen before. I used the feature updates of the product, but that said I was informed and did not include this update.

    Both javascript in this update files solve the problem. The table of contents, index and search now appear.

    Update:
    As I studied the problem further (when writing this reply), I found files that are newer than the latest security patches, I was aware of that. In addition, I discovered that my security organization decided to patch with APSB12-04 I don't know. This patch is why my 8.0.0 installation magically stop working. I see the announcement of the security, the bulletin was not all the required components for specific, that the patch can be applied to 8.0.1 and 8.0.2). (8.0.0, Adobe, please give more information on the ballots of so that organizations that deploy auto will be forced to find out what is running before the update. Information such as whether they apply to all versions of Robohelp 8 or simply a specific version. If APSB12-04 was supposed to apply to all versions of 8, then it did not work. In fact, he broke my installation of 8.0.0 for the generation of webhelp, but a later installation of 8.0.1 and 8.0.2. It seems that they have done a better job for APSB11-23. Maybe the security updates should be a kind of service pack that has a plant and a cancellation process. Right now, my security organization has replaced the files based on the specification in the security bulletin.

    I'll try to patch with APSB12-04 new since I've updated version 8.0.2 database to see if I still have the webhelp. If I can't view the table of contents, I have to take off once more and be 'in non-compliance."

  • iBooks author - TOC shows the empty entries for table - how to stop this?

    Hello

    I spent hours trying to find an answer to this.

    My book has a few tables - nothing wrong with that.  I have a front cap of the table - that's what I want in the table of contents.

    iBooks author shows instead, empty entries whenever he comes across a table, that is hopeless.

    I just want the topic as indicated above - 2.1.  I don't want 2.2 which is the table.

    Does anyone have an idea how to do this, please?

    If this isn't the case, iBooks author is desperate for any book that contains the tables.

    See you soon,.

    Mike

    Hello

    I found an article from Apple which may help to answer your question and I pasted the link below. I think that you will have to 'say' iBA this is or is not part of the Table of contents (TOC) and's done it with the Inspector tool, Document tab, section TOC. Look down at the bottom of this window to the sign and arrow down to allow the addition of other document settings in the table of contents, or remove some.

    I hope that this help =)

    iBooks author: Customize the table of contents

  • Hide or show rows in the table with AppleScript?

    I have a large table number, and I sometimes want to display the entire table and sometimes select a group of lines to hide or show, to make the display of data more convenient.

    By selecting many rows to hide is tedious (there are many, and they are not contiguous).  So I would use AppleScript to do this.  But in the numbers AppleScript dictionary, I don't see any way to apply an attribute "hidden" in rows, columns or beaches.  Y at - it a trick I'm missing?  Or it simply not exist in the current implementation?

    Thank you

    AFAIK, you can't hide a line or set a height of 0 using AppleScript, although I suggested that any time via numbers of > provide comments numbers in the menu.

    What you could do is filter the table to hide the lines, probably by adding a column filter designating the lines that you want to see (or, conversely, hide).  This filter can be turned on and off via AppleScript using the filtered table property, although it would probably be easier to do via the integrated interface.

    SG

  • How to connect the table 1 d to Structure box as a selector of case

    Hi all

    I'm able analog DAQmx Coordinated, I got component (Y) waveform and this component is of data type table 1 d (double-64-bit real) wire, according to my program I have to use the structure of the case, the selector must be values Y but labview said "you cannot connect this type of wire to the case selector (you have connected two terminals of different types).

    Related question work as below:

    Should I continue to move the engine while the analog values (values of Y) is lower than the preset value (for example, "10")

    Greetings from the Turkey!

    Best regards.

    either insert a "Index Board" to address one of the points (first, last, etc.) or take the average, max , or min of the table to make a decision, according to the needs.

  • The doc for the function of the subset of the table shows the extensible function

    In LabView 2010 the doc for the function of the subset of the table shows that the function is expandable with indexes and multiple lengths. I can't expand the function for multiple indexes. How can I do this?

    Is the documentation for the function by mistake, or is there another function of a subset of the table somewhere that can do this?

    Subset of table details

    When wire you an array to the function, the function is automatically resized to display entries index for each dimension of the array. If wire you a table 1 d to the function, the function displays the index for an item entries. If wire you a 2D to function, the function table displays the entries index for a line and column, respectively. If wire you a 3D through the nD to the function, the function displays the index for a page entries.

  • In the attached VI I do not understand why given domestic business structures are not transferred in the table.

    In the attached VI I do not understand why given domestic business structures are not transferred in the table.

    Thank you.

    The VI has yet InfoCluster.ctl.

    If you don't bring anything in the cluster, you should always pass the cluster via.  You run the same question ' use default if Unwired "as before.  The presence of these "case bundleless" begs the question why you have these States because they do nothing.

  • How to declare a pointer to the element of structure, i.e. the table structures

    LStr, * LStrPtr, * LStrHandle structure is taken from the extcode.h of cintools of LabView
     
    I used: sprintf (((*(*in_array)-> Strings [* count])-> str), local_str); for local_str string to
    Table of LabView.  It worked well, but a single programmer advised me to change the code to be more readable.
    Means - to change (*(*in_array)-> Strings [* count]) of construction to a pointer. I tried several different
    ways to implement this - but in all cases it caused LabView crash. I understand that this question
    is related to the C not on LabView programming, but you could point me to the place where I error?
    The incorrect string is probably "LV_array = & (*. ((**in_array)))" Strings [* Count])); "
     
    Thanks in advance.

    1 typedef struct {}
    2 int32 cnt;            / * number of bytes following * /.
    3 uChar str [1];         / * cnt bytes * /.
    4} LStr, * LStrPtr, * LStrHandle;
    5.
    6 typedef struct {}
    7 int32 dimSize;
    8 LStrHandle string [1];
    9} LVStringArray;
    10.
    11 typedef LVStringArray * LVStrArrayHdl;
    12.
    13 _declspec (dllexport) void avg_hello (int * count, LVStrArrayHdl in_array)
    14.      {
    15.
    16 unsigned char * local_str = "entry function ma_in();
    17. (* County) = 0;
    18 LStr * LV_array;
    19.
    20 LV_array = & (* ((**in_array).)) Strings [* Count])); Address to which to point LV_array
    21 subfunc(count, &in_array);                      Call a function that resizes the table (work)
    22 sprintf(LV_array->str, local_str);              by passing the string to LabView (does not work)
    23.
    24.}

    Thanks Andrey Dmitriev! spasibo!

    With your example, I realized where I have error in my code:

    I tried to assign the address of string pointer that has not yet been preallocated!

    that string permutation just means get us final code:

    1 typedef struct {}
    2 int32 cnt;            / * number of bytes following * /.
    3 uChar str [1];         / * cnt bytes * /.
    4} LStr, * LStrPtr, * LStrHandle;
    5.
    6 typedef struct {}
    7 int32 dimSize;
    8 LStrHandle string [1];
    9} LVStringArray;
    10.
    11 typedef LVStringArray * LVStrArrayHdl;
    12.
    13 _declspec (dllexport) void avg_hello (int * count, LVStrArrayHdl in_array)
    14.      {
    15.
    16 unsigned char * local_str = "entry function ma_in();
    17. (* County) = 0;
    18 LStr * LV_array;
    19 subfunc(count, &in_array);                      Call a function that resizes the table (works), firstly resize us the table, and only after that can we assign a string address to a pointer

    20 LV_array = & (* ((**in_array).)) Strings [* Count]));  Address to which to point LV_array assignment
    21.
    22 sprintf(LV_array->str, local_str);              by passing the string to LabView (does not work)
    23.
    24.}

  • Updating of the table after insert shows empty cells

    Hello experts,

    I'm trying to insert some custom values of certain fields in a table displayed on my page. The table comes a VO based entity with a sequence number and a few constraints.

    The sequence numbers batteries managed automatically by the database.

    The entry fields are related to a bean managed to get the value with 'GetValue' and then I create a string for the entry. The string then gets cut in the VO as some attributes with the following SQL calculation example:

    REGEXP_SUBSTR (attribut3, "[^,] +' 1, 5")

    But it is on the ViewObject/database layer.

    After I call the method of the VO Impl to create the new line like this:

    Managed bean:

    OperationBinding operationBinding = bindings.getOperationBinding ("addRow");

    operationBinding.getParamsMap () .put ("Value1", someInt);

    operationBinding.getParamsMap () .put ("Value2", someIntToo);

    operationBinding.getParamsMap () .put ("Value3", someString);

    operationBinding.execute ();


    Impl VO:


    ' public void addRow (integer value1, value2 Integer, String value3) {}


    ViewObject vo = this;

    NewRow row = vo.createRow ();


    newRow.setAttribute ("attribut1", value1);

    newRow.setAttribute ("attribut2", value2);

    newRow.setAttribute ("attribut3", value3);


    vo.insertRow (newRow);

    this.getDBTransaction () .commit ();

    }

    I capture without exception again, but when I place everything correctly and trigger the code bean managed via a button action, the table shows the new line with the correct integers, but the channel cut in two by the calculation of SQL from the top shows only blank cells. After that research with the filter of the table and remove the search filter once again, the strings appear correctly.

    For example, after you insert:

    table1.PNG

    Then, after 'refreshment' with the filter:

    table2.PNG

    What can I do about it? I can't really put the data through the InsertWithParams, because I need build the string with the Java Code.

    It only does not show data after insertion, PartialTrigger (s) also will not work.

    You must re-run the sql query after validation (with: vo.executeQuery ())

    Dario

  • LOV opened from column in the table always showing only 25 records

    Hello. I'm on Jdev 11 g R1.

    I have main VO with an attribute with LOV (entry LOV). The LOV VO defined in tuning as 'all lines' and range is set to-1

    Main LOV fell into the page and column is made in the form of entry-level LOV as expected. Everything works ok.

    But when I opened the LOV is showing 25 records. I have to scroll to the end and click on the button "Search" once again to see the rest of the records (total 48). It shows not all records and scrolls automatically when I start to scroll down, but stops at 25 records.

    I can't change the size of the beach of LOV since it is located in the table, so there is no access to the iterator LOV.

    How can I force LOV to see all records?

    As far as I KNOW, there is a bug in 11.1.2.x (and if you have a support contract, you can request the fix for it)

    Also associated with R1: list of input values does not fetch all records of documents only 25 are read

    Dario

  • 2015 CC Dreamweaver shows why not the border of the table. In the prevoios version Dreamweaver CS6 see the border of the table.

    2015 CC Dreamweaver shows why not the border of the table. In the previous version of Dreamweaver CC see the border of the table.

    See the difference

    Dreamweaver CC 2015

    Dreamweaver CS6

    The first image shows 'Live' display, as the second watch design mode. That's what I think "Design" shows in the latest version of DW.

  • where are stored physically tablespace, the table structure, package?

    Running Oracle 11 g on Linux.

    My disk parameters are:

    / dev/sda1 (start)
    / dev/sda2 (/)
    / dev/sda3 (/ u01) for Oracle software. Base: / u01/app/oracle
    / dev/sda4 (swap)

    / dev/sdb1 drive ASM for DATA
    / dev/sdc1 disc ASM for DATA
    / dev/sdd1 disc ASM for FRA


    1. where are the tablespace, structure of the table (for example the table name, column name, column type, primarykey keys and index), package, procedure, trigger, and stored PHYSICALLY function? I want to know the location of the path and drive common directory?

    2. when the Fast Recovery Area (FRA) performs the backup task, will be the tablespace, structure of the table (column, type, key, index), package, procedure, trigger and function also supported up to Fast Recovery Area (FRA), in addition to the data files, control files, and redo logs and archived newspapers?



    Thank you

    You must understand the difference and the concept of physical and logical storage Structures storage Structures.

    http://docs.Oracle.com/CD/E11882_01/server.112/e16508/physical.htm

    http://docs.Oracle.com/CD/E11882_01/server.112/e16508/logical.htm

    / dev/sdb1 drive ASM for DATA
    / dev/sdc1 disc ASM for DATA
    / dev/sdd1 disc ASM for FRA
    1. where are the tablespace, structure of the table (for example the table name, column name, column type, primarykey keys and index), package, procedure, trigger, and stored PHYSICALLY function? I want to know the location of the path and drive common directory?

    Probably your database is stored on the file system ASM, using the/dev/sdb1 and/dev/sdc1. Therefore, if your database files is on ASM diskgroup 'DATA' and then all of the objects is here.

    Query V$ DATAFILE, V$ CONTROLFILE, V$ LOGFILE, V$ TEMPFILE

    2. when the Fast Recovery Area (FRA) performs the backup task, will be the tablespace, structure of the table (column, type, key, index), package, procedure, trigger and function also supported up to Fast Recovery Area (FRA), in addition to the data files, control files, and redo logs and archived newspapers?

    FRA is used to contain backups of database then your objects are saved it too.

    RMAN can check it out:

    BACKUP FROM THE LIST;

    LIST ARCHIVELOG ALL;

    Published by: Levi Pereira on October 8, 2012 12:05

    Published by: Levi Pereira on October 8, 2012 12:09

Maybe you are looking for