I am new in Oracle development,thank u for helping me on this question.
Please don't tell me just use "desc" to get infromation of tables, it's not a good practice.

解决方案 »

  1.   

    tool菜单下的Export Tables,导出方式有3种,选择SQL Inserts, 然后选中需要导出成SQL语句的表(可以选择多个表),然后选择保存导出的Insert 语句的文件路径和文件名,然后......
      

  2.   

    Or you can consult here.
    http://community.csdn.net/Expert/topic/5023/5023892.xml?temp=.7249262
      

  3.   

    pl/sql develeper: drag a table name to SQL window, then select "DDL" from the jumped menu.
      

  4.   

    Another way: 
      If you want to get the ddl of a table "dept", use this clause:
       select dbms_metadata.get_ddl('TABLE', 'DEPT') from dual;
      

  5.   

    to Eric,majy
    Relly appreciated your quick answers!but, what kind of tools are you talking about?I don't have Oracle developer IDE here... so, could you please tell me more about the tools you used here?
    to majy,
    the last command does work in SQL*Plus, but very stange, the result is not complete! the last piece of the result is missing..
      

  6.   

    oh, I have read the article provided by Eric, the tool should be PL/SQL developer, am I right?
      

  7.   

    Yes, The toll is PL/SQL developer.If you work under SQL*Plus, pls reference this:http://www.dba-oracle.com/art_builder_get_schema_syntax.htm
      

  8.   

    thank u very much, majy.