Skip to content
pvmehta.com

pvmehta.com

  • Home
  • About Me
  • Toggle search form
  • Wait time tuning research Oracle
  • Library cahe Latches and internal explaination Oracle
  • How to find pinned objects from shared pool. (pinned via dbms_shared_pool.keep) Oracle
  • RAC with RHEL4 and 11g Oracle
  • find checksum of a file. Linux/Unix
  • DETERMINING WHICH INSTANCE OWNS WHICH SHARED MEMORY & SEMAPHORE SEGMENTS Oracle
  • Oracle GoldenGate lag monitoring shell script Linux/Unix
  • remove archfiles only when it is applied to DR rm_archfiles.sh Linux/Unix
  • purge_trc.sh Linux/Unix
  • To find explain plan for a statement that occurred in past. Oracle
  • Zip and unzip with tar Linux/Unix
  • My FTP Job Scheduling for www.pvmehta.com PHP/MYSQL/Wordpress
  • Transfer SQL Profiles from One database to other database. Oracle
  • Good Oracle Architecture In Short and point to point Oracle
  • Which environment is used by currently running process ( Very good) Linux/Unix

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

  • How to find password change date for user Oracle
  • How to Modify the statistics collection by MMON for AWR repository Oracle
  • Global Unique Identifier Generation in Oracle 9.2 SYS_GUID() Oracle
  • oracle tips… from http://www.bijoos.com/oracle/douknow.htm Oracle
  • Settting up get_vmstat.sh for colletinf CPU Usage. Oracle
  • Explain Plan Output 2 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 (387)
  • PHP/MYSQL/Wordpress (10)
  • Power-BI (0)
  • Python/PySpark (7)
  • RAC (17)
  • rman-dataguard (26)
  • shell (149)
  • SQL scripts (336)
  • Uncategorized (0)
  • Videos (0)

Recent Posts

  • 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
  • Add new columns in dataframe30-Sep-2023

Archives

  • 2025
  • 2024
  • 2023
  • 2010
  • 2009
  • 2008
  • 2007
  • 2006
  • 2005
  • Getting started with notebook Python/PySpark
  • refre.sql Oracle
  • DBMS_PROFILER for tuning PLSQL programs. Oracle
  • ORACLE_SID in sqlplus Oracle
  • How to change hostname in Linux Linux/Unix
  • checking connectivity between two servers Linux/Unix
  • Oracle 10g Wait Model Oracle
  • Btee and Bitmap Plans in Oracle 9i and higher Oracle

Copyright © 2025 pvmehta.com.

Powered by PressBook News WordPress theme