SQL in the upper and lower solution to display the previous method of a SQL statement

Putty to operate through the database, in the SQL> prompt through the up and down arrow keys to show the history of the command, you can adopt the following solution:
1. Rlwrap to download a tool called

http://utopia.knoware.nl/% 7Ehlub/uck/rlwrap/rlwrap-0.30.tar.gz

Compiled after the installation of
tar-zxvf rlwrap-0.30.tar.gz
cd rlwrap-0.30
. / configure
make
make install

2. Sqlplus or rman after running you can do

rlwrap sqlplus /
nolog
rlwrap rman

Or individual name written on. Bash_profile inside
alias sqlplus = 'rlwrap sqlplus'
alias rman = 'rlwrap rman'




Article from the Internet, thanks to the author!
  • del.icio.us
  • StumbleUpon
  • Digg
  • TwitThis
  • Mixx
  • Technorati
  • Facebook
  • NewsVine
  • Reddit
  • Google
  • LinkedIn
  • YahooMyWeb

Related Posts of SQL in the upper and lower solution to display the previous method of a SQL statement

  • oracle database backup and restore

    Oracle Database Backup and Recovery This article comes from the Internet, thanks authors. When we use a database, always hoped that the content of the database is reliable and correct, but because of the failure of computer systems (including equipme ...

  • Oracle9i database manually create specific steps

    Oracle9i database manually create specific steps Article from the Internet, thanks to the author! At the operating system on linux, oracle user name to log in 1, and stop running linux on the database instance 2, change the ORACLE_SID environment par ...

  • oracle books

    From the Internet to find a set of Oracle9i Database Fundamentals I and the Oracle9i Database Fundamentals Ⅱ English books, and the U.S. share common study. Books from the Internet, thanks to the author! PDF format is. Document: Oracle9i Database Fun ...

  • SQLPlus skills

    SQLPlus skills 1. The use of dynamically generated SQL * PLUS script volume Spool command will be combined with the use of select, you can generate a script, the script may have included the implementation of a bulk of the mission statement. Example ...

  • RMAN created physical standby

    Monitor in the standby host to create the necessary directory structure and parameter files. Hot COPY after the main library to the standby, and on standby to restore. +++++++++++++++++++++++++++++ Standby ++++++++++++++++++++++++++++++++++++++++++++ ...

  • ProC will select the data on the two-dimensional array

    Examples are as follows: (Over)

  • SQL optimization (5) - commonly used test hints

    First, the purpose of testing SunnyXu in accordance with the "SQL Performance adjust - summarized," commonly used to test the following four categories of hints: 1. The method of instruction optimizer hints with the aim ALL_ROWS: Based on t ...

  • Oracle locking mechanism (reprint)

    Blocking mechanism is set up in order to control the concurrent operation of the block interference, to ensure data consistency and accuracy. Oracle database blockade There are three ways: sharing blockade blockade exclusive, shared update blockade [ ...

  • Turning optimization oracle article

    DB_BLOCK_LRU_LATCHES = 6 BUFFER_POOL_KEEP = (BUFFERS: 14000, LRU_LATCHES: 1) BUFFER_POOL_RECYCLE = (BUFFERS: 2000, LRU_LATCHES: 3) ... Note: buffer_pool_buffers = 2000 * 3 +14000 * 1 = 20000 keep the district will once again be used to retain the use ...

  • image copy and backup set the difference between

    1, at up to disk prior to storage, backup set can use the oracle's own compression algorithm of the binary data files and archive log compression, and image copy will not do. 2, backup set will not be included free block, if one has never been wr ...

Leave a Reply

Recent
Recent Entries
Tag Cloud
Random Entries
Latest Comments