Parm Patram

Oracle, Linux and UNIX tips, tricks and stuff
  • Home
  • Site Map
  • Changing sqlplus settings globally

    Documentation, SQLPLUS 09-29-2008 Comments Off

    edit $ORACLE_HOME/sqlplus/admin/glogin.sql

    – parm: my specific stuff
    ALTER SESSION SET nls_date_format = ‘HH:MI:SS’;
    SET SQLPROMPT “_USER’@'_CONNECT_IDENTIFIER _DATE> ”
    SET PAGESIZE 24
    SET LINESIZE 78

    This can also be set in user’s home directory, but will only be run if user connects to sqlplus from their home directory.

  • Types of JOINS

    SQL & PL/SQL, SQLPLUS 08-29-2008 Comments Off

    http://www.codinghorror.com/blog/archives/000976.html

  • sqlplus man page

    Documentation, SQLPLUS 08-29-2008 Comments Off

    http://www.ss64.com/orasyntax/plus_set.html

  • Sending data from sqlplus to a file

    Documentation, SQLPLUS 08-28-2008 Comments Off

    you can use the SPOOL command to save the output into file and send it directly to the printer, for file follow the instruction:

    SQL>SPOOL filename

    SQL>select yada yada yada;

    SQL>SPOOL OFF

  • sqlplus command reference

    SQLPLUS 08-27-2008 Comments Off

    http://download.oracle.com/docs/cd/B10501_01/server.920/a90842/ch13.htm

  • Stopping instance using sqlplus command line

    SQLPLUS, Startup/Shutdown 08-27-2008 Comments Off

    [oracle@localhost bin]$ sqlplus /nolog

    SQL*Plus: Release 11.1.0.6.0 – Production on Wed Aug 27 19:41:29 2008

    Copyright (c) 1982, 2007, Oracle.  All rights reserved.

    SQL> connect sysdba/fraggle as SYSDBA;
    Connected.
    SQL> shutdown immediate

    Database closed.
    Database dismounted.

    ORACLE instance shut down.
    SQL>

Next Entries »

Category:

  • Administration
    • ASM
    • BLOCK SIZE
    • Database Recovery
    • DBVERIFY
    • GRANTS
    • OEM
    • REDO LOGS
  • APPS
    • AutoConfig
    • Change EBS IP Address
    • Cloning
    • DB Environment Vars
    • Discoverer
    • Environment Vars
    • Patching
    • Problems
    • Resources Online
    • Tricks & Tips
    • Upgrading
    • Workflow
  • Articles
  • Backup & Recovery
  • Certification
  • Configuration
  • DATABASE STRUCTURE
    • Data Dictionary
    • Logical Database Structure
    • Physical Database Structure
    • SCHEMA
  • DATAGUARD
  • Documentation
    • ASM (Automatic Storage Magement)
    • Command Reference
    • DataPump
    • Documentation Library
    • SQL Developer
  • EBS
  • Enterprise Manager
  • FLASHBACK
  • HACKING
  • HEADS UP
  • Installation
    • RAC
  • JDeveloper
  • Linux
    • iptables
    • Networking
  • Monitoring
    • Big Brother
  • MQ
  • NFS
  • NXclient/server
  • Online Resources
  • PERL
  • python
  • RMAN
    • RMAN Catalog Setup
  • Routing & Switching
  • SAN – NAS
    • Netapp
  • Scripts
  • Serial-Parallel-Port-Testers
  • SNMP
  • Software
  • Solaris
  • Spiritual
  • SQL & PL/SQL
  • SQLPLUS
  • Startup/Shutdown
  • Streams
  • Tuning
    • INDEXES
    • SQL Tuning
      • TKPROF and sql_trace
  • Version Control
  • Vertias
    • VCS
    • VxFS
  • VMWare
  • VNC
  • Windows XP
  • ZFS
© Blogname. All Rights Reserved. Entries RSS Comments RSS Login Open Source