Solved

sql in aix

Posted on 2014-04-24
3
348 Views
Last Modified: 2014-04-25
How can we see the previously used commands in sql prompt in aix.
0
Comment
Question by:vangogpeter
3 Comments
 
LVL 76

Expert Comment

by:slightwv (䄆 Netminder)
ID: 40021069
If you mean sqlplus: you can't.  sqlplus doesn't have a command history.

You can only see what is currently in the buffer with a list (or single l) command.
0
 
LVL 23

Expert Comment

by:David
ID: 40021432
There may be a after-market product floating around, but a fast/cheap alternative is to pick up a GUI tool such as Oracle's SQL*Developer, or Dell/Quest's TOAD; there are others, of course.

Within the CLI, I've had limited success just doing a manual copy/paste into a text editor -- or if desperate, a series of screen snapshots using the MS snipping tool.
0
 
LVL 16

Accepted Solution

by:
Wasim Akram Shaik earned 500 total points
ID: 40021688
also to add .. if you have logged in aix via putty.exe then you could do setting to increase scroll back so as you can always go up and check what you have typed

can be done by clicking on settings and  increase the scrollback by selecting the Window options category and changing the Lines of scrollback option.
This will increase your visibility on terminal window for a limited period but as such with history,  not much can be done as our experts suggested

alternatively spool sql in text file to maintain a history. . not a goodand convenient option though
0

Featured Post

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Cursors in Oracle: A cursor is used to process individual rows returned by database system for a query. In oracle every SQL statement executed by the oracle server has a private area. This area contains information about the SQL statement and the…
Configuring and using Oracle Database Gateway for ODBC Introduction First, a brief summary of what a Database Gateway is.  A Gateway is a set of driver agents and configurations that allow an Oracle database to communicate with other platforms…
This video shows setup options and the basic steps and syntax for duplicating (cloning) a database from one instance to another. Examples are given for duplicating to the same machine and to different machines
Via a live example, show how to take different types of Oracle backups using RMAN.

895 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now