Skip to content
pvmehta.com

pvmehta.com

  • Home
  • About Me
  • Toggle search form
  • ORACLE_SID in sqlplus Oracle
  • get_vmstat_linux Oracle
  • Multiple listeners Oracle
  • changing kernel parameter in Oracle Enterpise Linux Linux/Unix
  • DBMS_JOB all example Oracle
  • Jai Shree Ram PHP/MYSQL/Wordpress
  • TOP-N Sql to find Nth max or Top N rows Oracle
  • move_arch_files.ksh Linux/Unix
  • Read CSV file using PySpark Python/PySpark
  • Oracle 11g RAC on OEL 5 and Vmware 2 Oracle
  • proc.sql Oracle
  • More info about /proc folder and its relation with processes. Linux/Unix
  • upload.html PHP/MYSQL/Wordpress
  • Small sample shell program Linux/Unix
  • Index Range Scan Oracle

login.sql

Posted on 02-Aug-2005 By Admin No Comments on login.sql

REM Author : Paresh Mehta

REM Created : June 4, 2004

REM Purpose : Change the look of sql prompt (for 9i).

set echo off

set numwidth 9

set linesize 100

set pagesize 24

Set head off

set time on

set timing on

define _PVMUSRNM=””

column USERNAME new_value _PVMUSRNM;

column name new_value _PVMDBSTR;

select username from user_users;

select name from v$database;

set SQLPROMPT ‘&_PVMUSRNM@&_PVMDBSTR:-> ‘

Oracle, SQL scripts

Post navigation

Previous Post: block_ident.sql
Next Post: tab.sql

Related Posts

  • Configure ssh authentications for RAC Oracle
  • Oracle 10g Installation/Applying Patches Tips Oracle
  • sess1.sql Oracle
  • How to stop OCSSD Daemon Oracle
  • Goog notes on X$ tables Oracle
  • OEM-troubleshooting on 20-MAY-08 Oracle

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Categories

  • AWS (2)
  • Azure (1)
  • Linux/Unix (149)
  • Oracle (388)
  • PHP/MYSQL/Wordpress (10)
  • Power-BI (0)
  • Python/PySpark (7)
  • RAC (17)
  • rman-dataguard (26)
  • shell (149)
  • SQL scripts (337)
  • Uncategorized (0)
  • Videos (0)

Recent Posts

  • findinfo.sql (SQL for getting CPU and Active session info)27-May-2025
  • SQL Tracker by SID sqltrackerbysid.sql22-Apr-2025
  • How to connect to Oracle Database with Wallet with Python.21-Mar-2025
  • JSON/XML Types in Oracle18-Mar-2025
  • CPU Core related projections12-Mar-2025
  • Exadata Basics10-Dec-2024
  • Reading config file from other folder inside class24-Sep-2024
  • Python class import from different folders22-Sep-2024
  • Transfer SQL Profiles from One database to other database.05-Sep-2024
  • Load testing on Oracle 19C RAC with HammerDB18-Jan-2024

Archives

  • 2025
  • 2024
  • 2023
  • 2010
  • 2009
  • 2008
  • 2007
  • 2006
  • 2005
  • Find long Running Transaction Linux/Unix
  • Create type and Grant on it. Oracle
  • Vivek’s egrep commands to trace problem. (on linux x86-64) Linux/Unix
  • find_err.sql for finding errors from dba_errors. Oracle
  • Nice notes on wait events Oracle
  • How to analyze statspack or AWR report. Oracle
  • Another export with Query Oracle
  • All About oracle password and security from metalink Oracle

Copyright © 2025 pvmehta.com.

Powered by PressBook News WordPress theme