Oracle DB FAQs

Saturday, 2 August 2014

how to change sqlplus prompt from sql to username


After login to Sqlplus
set sqlprompt "_user> "
It will come as SYS>



You can also see as SYS @ hrms> by setting
set sqlprompt "_user '@' _connect_identifier > "

If you want it it permanently

You have to set the same in the file  $ORACLE_HOME\sqlplus\admin\glogin.sql script
Posted by Dhanunjay at 06:53
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest

No comments:

Post a Comment

Newer Post Older Post Home
Subscribe to: Post Comments (Atom)

Blog Archive

  • ►  2025 (1)
    • ►  January (1)
  • ►  2023 (1)
    • ►  December (1)
  • ►  2022 (2)
    • ►  March (1)
    • ►  February (1)
  • ►  2021 (1)
    • ►  August (1)
  • ►  2015 (18)
    • ►  August (2)
    • ►  July (2)
    • ►  June (4)
    • ►  April (2)
    • ►  March (4)
    • ►  February (3)
    • ►  January (1)
  • ▼  2014 (34)
    • ►  December (6)
    • ►  November (2)
    • ►  October (3)
    • ►  September (6)
    • ▼  August (5)
      • Comparison of different Backup Strategies
      • Traditional Logical Backup
      • How to print column wise data in rows
      • Insert into multiple tables using single SELECT Query
      • how to change sqlplus prompt from sql to username
    • ►  July (2)
    • ►  June (3)
    • ►  May (5)
    • ►  April (2)
  • ►  2013 (28)
    • ►  December (2)
    • ►  November (5)
    • ►  October (9)
    • ►  August (6)
    • ►  July (3)
    • ►  June (3)

About Me

Dhanunjay
View my complete profile
Watermark theme. Powered by Blogger.