Solved

sql in aix

Posted on 2014-04-24
3
342 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)
Comment Utility
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
Comment Utility
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
Comment Utility
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.

Join & Write a Comment

This article started out as an Experts-Exchange question, which then grew into a quick tip to go along with an IOUG presentation for the Collaborate confernce and then later grew again into a full blown article with expanded functionality and legacy…
This post first appeared at Oracleinaction  (http://oracleinaction.com/undo-and-redo-in-oracle/)by Anju Garg (Myself). I  will demonstrate that undo for DML’s is stored both in undo tablespace and online redo logs. Then, we will analyze the reaso…
This video shows how to Export data from an Oracle database using the Datapump Export Utility.  The corresponding Datapump Import utility is also discussed and demonstrated.
This video explains what a user managed backup is and shows how to take one, providing a couple of simple example scripts.

763 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

7 Experts available now in Live!

Get 1:1 Help Now