Java Fly

          Java&Oracle
          隨筆 - 12, 文章 - 20, 評論 - 27, 引用 - 0
          數據加載中……

          What are the basic SQL*Plus commands?

          What are the basic SQL*Plus commands?

          The following SQL*Plus commands are available:

            ACCEPT Get input from the user
            DEFINE Declare a variable (short: DEF)
            DESCRIBE Lists the attributes of tables and other objects (short: DESC)
            EDIT Places you in an editor so you can edit a SQL command (short: ED)
            EXIT or QUIT Disconnect from the database and terminate SQL*Plus
            GET Retrieves a SQL file and places it into the SQL buffer
            HOST Issue an operating system command (short: !)
            LIST Displays the last command executed/ command in the SQL buffer (short: L)
            PROMPT Display a text string on the screen. Eg prompt Hello World!!!
            RUN List and Run the command stored in the SQL buffer (short: /)
            SAVE Saves command in the SQL buffer to a file. Eg "save x" will create a script file called x.sql
            SET Modify the SQL*Plus environment eg. SET PAGESIZE 23
            SHOW Show environment settings (short: SHO). Eg SHOW ALL, SHO PAGESIZE etc.
            SPOOL Send output to a file. Eg "spool x" will save STDOUT to a file called x.lst
            START Run a SQL script file (short: @)

          http://www.orafaq.com/faqplus.htm#PLUSCOMMANDS

          posted on 2006-01-05 20:17 Java Fly 閱讀(249) 評論(0)  編輯  收藏 所屬分類: Oracle base

          主站蜘蛛池模板: 福建省| 修水县| 印江| 吉林市| 阿瓦提县| 上杭县| 伊吾县| 耿马| 霍州市| 白水县| 嘉义县| 南和县| 德江县| 沅江市| 临夏市| 青河县| 滦平县| 佛教| 顺义区| 江油市| 扶绥县| 大石桥市| 儋州市| 太仓市| 吐鲁番市| 桂阳县| 华安县| 永寿县| 蒙城县| 沽源县| 海南省| 海安县| 阳朔县| 锡林浩特市| 米脂县| 军事| 慈溪市| 饶平县| 安顺市| 余庆县| 贵南县|