Skip to content
pvmehta.com

pvmehta.com

  • Home
  • About Me
  • Toggle search form
  • Useful Solaris Commands on 28-SEP-2005 Linux/Unix
  • Find Time Consuming SQL Statements in Oracle 10g Oracle
  • Oracle Metalink useful notes Oracle
  • How To Limit The Access To The Database So That Only One User Per Schema Are Connected (One Concurrent User Per Schema) Oracle
  • Jai Shree Ram Linux/Unix
  • findinfo.sql (SQL for getting CPU and Active session info) Oracle
  • ext#.sql Oracle
  • load SPM baseline from cursor cache Oracle
  • SCRIPT TO LIST RECURSIVE DEPENDENCY BETWEEN OBJECTS UTLDTREE.sql Oracle
  • find_arc.sql Oracle
  • Remove duplicate rows from table Oracle
  • AWR license Oracle
  • Check Oracle installed products using one command Oracle
  • remove archfiles only when it is applied to DR rm_archfiles.sh Linux/Unix
  • Trace a SQL session from another session using ORADEBUG 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

  • ORA-00064: object is too large to allocate on this O/S during startup Oracle
  • Best approach for Oracle database patching sequence to latest/required patchset along with CPU/PSU/any-other-one-off patch ID 865255.1 Oracle
  • Drop all SPM baselines for SQL handle Oracle
  • Temporary Tablespace Information and restriction. Oracle
  • tblwopk.sql tablewopk.sql Oracle
  • Jai Shree Ram Oracle

Leave a Reply Cancel reply

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

Categories

  • Ansible (0)
  • AWS (2)
  • Azure (1)
  • Django (0)
  • GIT (1)
  • Linux/Unix (150)
  • MYSQL (5)
  • Oracle (403)
  • PHP/MYSQL/Wordpress (10)
  • POSTGRESQL (1)
  • Power-BI (0)
  • Python/PySpark (7)
  • RAC (18)
  • rman-dataguard (26)
  • shell (151)
  • SQL scripts (349)
  • SQL Server (6)
  • Uncategorized (5)
  • Videos (0)

Recent Posts

  • Key Management in Oracle: The Core Issue: Missing Master Key12-May-2026
  • SAT Mathematics 10 questions and answer at the end.30-Apr-2026
  • top 10 AI news today30-Apr-2026
  • runon_allpdbs_show_conname.sh23-Apr-2026
  • runon_allcdbs_find_pdbs.sh23-Apr-2026
  • Running PDB on single node in RAC09-Apr-2026
  • find_arc.sql09-Apr-2026
  • pvm_pre_change.sql08-Apr-2026
  • find_encr_wallet.sql08-Apr-2026
  • find_pdbs.sql08-Apr-2026

Archives

  • 2026
  • 2025
  • 2024
  • 2023
  • 2010
  • 2009
  • 2008
  • 2007
  • 2006
  • 2005
  • Creating never expiring DB user accounts in Oracle Oracle
  • Wait.sql Oracle
  • MYSQL and Oracle Comparison for Oracle DBA MYSQL
  • Default User Profile Oracle
  • moving lob object to other tablespace lob_mvmt.sql Oracle
  • Another Tuning Article for subheap of shared pool Oracle
  • fkwoind.sql fkwoindex.sql Oracle
  • Oracle Identifiers Oracle

Copyright © 2026 pvmehta.com.

Powered by PressBook News WordPress theme