In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-04-01 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Database >
Share
Shulou(Shulou.com)06/01 Report--
Today, I attended the OCP training and listened to the teacher talk about a little skill about oracle. I felt it was still very useful and wrote it down.
If you are interested in this document on the official website, you can also check it out. The document on the official website is accurate to time.
In our daily work, we use sqlplus / as sysdba to enter the oracle environment, and then switch to the production user, we will find that the display icon has not changed:
For example, after entering password for conn hr, it still appears as follows:
SQL >
So is there any way to show the users and instances of our current execution?
You can edit the following files:
This is the path to the default oracle installation:
/ u01/app/oracle/product/11.2.0/dbhome_1/sqlplus/admin/glogin.sql
(you can also cd $ORACLE_HOME and look for it in the relevant path.)
Edit the file and add this command below: SET SQLPROMPT "_ USER'@'_CONNECT_IDENTIFIER >"
As shown below:
The final sqlplus is purple. I will hide the name of the example here and will not show it to you.
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.