Alter.Org.UA
 << Back Home UK uk   Donate Donate

Text-mode SQL console for Oracle 7 and higher

Last version: oconsole_v1d.rar/tgz (24 Kb/24.8 Kb)

Oracle 8i OCI samples contain pretty SQL console. It is much better than standard SQL*Plus. It has history buffer for SQL statements and convinient line edit capabilities. After some modifications long NUMBER support was added (for numbers those can't be fit in float or int values).

It is useful to set large Screen Buffer for this application in order to avoid long line wrapping.
This version uses Oracle 7 OCI interface. It requires path to OCI.DLL to be added to PATH Environment Variable. Usually, this library is located in <Oracle installation path>\bin.

oconsole_v1.rar/tgz (19.1 Kb/19.9 Kb)
2003.10.02
oconsole_v1a.rar/tgz (24.1 Kb/25 Kb)
Thr following features are added:
  • Console scroll buffer size is set to 800x800 on start.
  • SELECT results can be viewed page by page or breaked by Esc. Results paging can be enabled or disabled by /page and /nopage) commands. By default paging mode is enabled.
  • Output of SELECT's can be completely disabled by /noout. It is useful when executing SQL statements from file, because output degrade system performance. Output can be re-enabled by /out.
  • You can execute SQL statements from file <filename> by typing the following:
    @<filename>
  • reconnect can be performed by /connect
  • exit from console - /quit, /exit, /q
2003.11.09
oconsole_v1b.rar/tgz (25.8 Kb/26.7 Kb)
Done:
  • Now asterisks are printed when you types a password, thanks to dashkaX@dashka.org.ua (remove X).
  • Command prompt features are added. You can specify username, password and service name to use for Oracle connection. You can also specify path to file with SQL statements to execute.
  • Sources are published (they are ugly a little...): oconsole_v1b_src.rar/tgz (7.5 Kb/7.6 Kb)
Usage:
    oconsole [user:<username>] [pwd:<password>]
                 [[svc|service]:<service name> [@<sql-filename>]
    defaults:
      username     system
      password     manager
      service      <empty string>
2003.12.02
oconsole_v1c.rar/tgz (23.9 Kb/24.7 Kb)
sources - oconsole_v1c_src.rar/tgz (7.7 Kb/7.9 Kb)
  • Fixed bug with new lines when entering logig/password.
  • Added feature for entering code for TRIGGERs, FUNCTIONs and PROCEDUREs. Now terminating character is "\", like in SQL*Plus.
2003.12.04
oconsole_v1d.rar/tgz (24 Kb/24.8 Kb)
sources - oconsole_v1d_src.rar/tgz (7.8 Kb/8 Kb)
  • Fixed bug with GRANT CREATE TRIGGER/FUNCTION/PROCEDURE. It was interpreted as simply CREATE TRIGGER/FUNCTION/PROCEDURE.
  • Variables like :new in TRIGGER', FUNCTION's and PROCEDURE's sources are not treated anymore as bindable variables. User will not be prompted for enter value for :new.
2003.12.05
FB or mail alterX@alter.org.ua (remove X)   Share
designed by Alter aka Alexander A. Telyatnikov powered by Apache+PHP under FBSD © 2002-2024