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 閱讀(239) 評論(0)  編輯  收藏 所屬分類: Oracle base

          主站蜘蛛池模板: 大余县| 开化县| 桃园市| 达尔| 明光市| 安福县| 呈贡县| 巫山县| 巴楚县| 三江| 扶风县| 衡阳市| 竹溪县| 藁城市| 白河县| 奉化市| 尖扎县| 齐河县| 吉木乃县| 贵港市| 东乌珠穆沁旗| 洛阳市| 沙河市| 会同县| 工布江达县| 永新县| 潜江市| 凌海市| 汕头市| 南岸区| 志丹县| 西和县| 巴马| 阿拉善盟| 肇州县| 开封县| 北安市| 阿拉善右旗| 时尚| 出国| 祁阳县|