Skip to content
pvmehta.com

pvmehta.com

  • Home
  • About Me
  • Toggle search form
  • Oracle 11g Training on 29JAN1010 Oracle
  • V$CONTROLFILE_RECORD_SECTION reference notes. Oracle
  • In Addition to previous note, following grants needed on PERFSTAT user. Oracle
  • kill all processes from specific user in solaris. Linux/Unix
  • Find_table_size.sql Oracle
  • Roles and Stored Procs II Oracle
  • move_arch_files.ksh Linux/Unix
  • 272332.1 CRS 10g Diagnostic Collection Guide Oracle
  • FGA Part-I Oracle
  • DBA_HIST_SQLSTAT contents Oracle
  • Linux CPU info. Linux/Unix
  • Wait.sql Oracle
  • tblwopk.sql /* Find Tables Without PK */ Oracle
  • Proc code Oracle
  • perf_today.sql 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

  • How to know current SID Oracle
  • Import and export statements Oracle
  • Find_stale_dr.sql finding stale physical DR.. Oracle
  • DBMS_Shared_pool pinning triggers Oracle
  • Creating never expiring DB user accounts in Oracle Oracle
  • Pending Transaction Neighbors Script 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
  • Another export with Query Oracle
  • create database syntax Oracle
  • Debugging Shell FIles Linux/Unix
  • 751131.1 New Article Error 2819 While Requesting a Systemstate Dump Oracle
  • segment_wise_space.sql segspace.sql Segment wise space usage (allocated and used) Oracle
  • Adding addidional hard drive and attach it to a linux box. Linux/Unix
  • 339939.1 Running Cluster Verification Utility to Diagnose Install Problems Oracle
  • Oracle10g – Using SQLAccess Advisor (DBMS_ADVISOR) with the Automatic Workload Repository Oracle

Copyright © 2025 pvmehta.com.

Powered by PressBook News WordPress theme