Skip to content
pvmehta.com

pvmehta.com

  • Home
  • About Me
  • Toggle search form
  • how to find VIP from ifconfig Linux/Unix
  • initUOCIOTTO.ora Oracle
  • Settting up get_vmstat.sh for colletinf CPU Usage. Oracle
  • Processes parameter and its dependencies on OS kernel parameters Linux/Unix
  • Find nth max and min. Oracle
  • logminer and my_lbu Oracle
  • oracle_env_10g_CADEV Linux/Unix
  • Sequence Resetting Oracle
  • Another export with Query Oracle
  • scripts to take listener.log backup Linux/Unix
  • Goldengate document from Porus Oracle
  • Reading config file from other folder inside class Python/PySpark
  • Free conference number from http://www.freeconference.com Oracle
  • online_ts_bkup.sql Oracle
  • cache buffer chain latch Oracle

refre.sql

Posted on 02-Aug-2005 By Admin No Comments on refre.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: ext#.sql
Next Post: eplan.sql

Related Posts

  • Caching sequence in Memory Oracle
  • tblwopk.sql /* Find Tables Without PK */ Oracle
  • Restoring a user’s original password 1051962.101 Oracle
  • sess1.sql Oracle
  • Create type and Grant on it. Oracle
  • before_trunc.sql Before Truncate table needs to execute following: 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
  • Renaming Oracle Instance Name Oracle
  • Removing Blank lines from file using grep Linux/Unix
  • kill all processes from specific user in solaris. Linux/Unix
  • How to choose Driver table in SQL statement Oracle
  • Adding addidional hard drive and attach it to a linux box. Linux/Unix
  • get_ratio.sql get the ratio of users from v$session and this uses CASE-WHEN-THEN clause Oracle
  • cif crons Linux/Unix
  • sess_server.sql Oracle

Copyright © 2025 pvmehta.com.

Powered by PressBook News WordPress theme