|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
||||
|
||||
|
How to customize SQLPlus prompt
How can one edit the SQLPlus prompt to show the time or username? Also, is there anything special you need to do to get Oracle to show you how much time has elapsed for a command like below?
Code:
22:23:29 SQL> create index [...] Index created. Elapsed: 01:22:35.29 23:46:18 SQL> |
|
#2
|
||||
|
||||
|
If you want sqlplus to show elapsed time you have to run
Code:
SQL> set timing on And from ORAFAQ Quote:
__________________
My blog about OpenSource Databases PDF tutorials about OSS databases, DBMonster ... Please contribute to Open Source Development, fill bug reports!!! Developer Shed eSupport Commented my.ini/my.cnf (PLEASE ADD YOUR OWN CONFIG TRICK) An introduction to database normalization Natural or Surrogate key Custom ordering for your results Correlated and uncorrelated subqueries Don't turn your outer joins into inner joins Last edited by pabloj : April 28th, 2005 at 03:46 PM. |
|
#3
|
||||
|
||||
|
Thanks pabloj
![]() |
![]() |
| Viewing: Dev Shed Forums > Databases > Oracle Development > How to customize SQLPlus prompt |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|