After installing Oracle11g in Linux, use sqlplus with the following garbled code.
After installing Oracle 11 GB in Linux, use sqlplus with the following garbled code.
After installing Oracle 11 GB in Linux, use sqlplus with the following
Oracle Sometimes the user password contains some special characters directly logged in will be error, you need to use the following methods to log in SqlplusSqlplus ' username/"password"PS: The whole is enclosed in single quotation marks, strings
Open SQL Plus
Enter user name : sys as SYSDBA
Enter password: can be directly enter
Connect to :
Oracle Database 11g Enterprise Edition Release 11.2.0.1.0-64bit Productionwith the partitioning, OLAP, Data Mining and Real application testing
Use sqlplus return output "^ H" in X-manager to solve the problem. x-managersqlplus
Original Works are from the blog of "Deep Blue blog". You are welcome to repost them. Please indicate the source when you repost them. Otherwise, the copyright will
-- Use sqlplus to output data in a table to a text file in a specified format
Set term off -- remove Screen Display
Set feed off -- remove the number of lines displayed for output
Set pagesize 0 -- no page feed
Set linesize 2000 -- set the
Method One: Autotrace1, connect sys/password as SYSDBA, run under SYS user $oracle_home/sqlplus/admin/plustrce.sqlThis paragraphSQLThe actual contents are as follows:Set echo onDrop role Plustrace;Create role Plustrace;Grant SELECT on V_$sesstat to
When we configure the replicuard environment, we should think that standby will become primary one day. Therefore, we should configure parameters such as log_archive_dest_2 and
When we configure the Data Guard environment, we should think that
I use Ubuntu10.04, and install rlwrap using sudoapt-getinstallrlwrap. Usage: rlwrapsqlplus.
I use Ubuntu 10.04 and install rlwrap using sudo apt-get install rlwrap. Usage: rlwrap sqlplus.
I am using Ubuntu 10.04. The method for installing
I. Software Download and environment configuration 1. download the software to http://www.oracle.com/technology/software/tech/oci/instantclient/htdocs/winsoft.html download the following three packages: Current address: Copy to c: \ instantclient_10_
In linux, SQL Plus is used to execute SQL scripts with Chinese garbled characters to process sqlplus in a group of servers. When SQL scripts are updated regularly, Chinese garbled characters are displayed. At the beginning, I found the wrong problem
Recently, there are a bunch of Delete statements to be executed. The 34 Delete statements are written as one PROCEDURE for execution, but the execution plan and time of a single DELETE statement cannot be seen during execution.
Recently, there are
1. Open the command line window and enter the following command: sqlplus/nolog and press Enter. The prompt SQL>,Enter Conn/As sysdba to log on. If it fails, try again with the password of the conn sys/sys user as sysdba.
2. Check where the current
I use Ubuntu 10.04 and install rlwrap using sudo apt-get install rlwrap.
The usage is: rlwrap sqlplus. After entering, you can use the direction key. You do not need to enter rlwrap to modify your bashrc and add alias sqlplus = 'rlwrap sqlplus '.
The following figure shows two steps for installing the Oracle database server software and client software:
Through the above process, we know that the server and the client have a file to be configured, the server is the listener
Appears today when using Sqlplus===============================================ERROR:Ora-28002:the password'll expire within 7 days===============================================Prompt password expires, due to the need to connect the test database,
The data is stored as a file (such as: create_csv.sql) and then executed in Sqlplus to output the data to the specified file.
--Number of characters per line, max value is 999
Set Linesize 800
--This parameter sets the number of rows per page output,
Steps: 1. configure a non-default dynamic listener that runs on port 1525. by default, dynamic listeners must run at the same time. configure a static listener and run on port 1526. open these listeners and use sqlplus to log on to the test database
Installation instructions 1. decompress the package to a local disk. 2. Open the install. SQL file and change the parameters such as the logon username, password, and log file storage path according to the prompt text in the file. 3. Use Sqlplus to
System Parameters of the Oracle database are stored in the database. You can use SQLPLUS to query the system parameters in SYSYTEM. 1. Several important tables or views are as follows:
System Parameters of the Oracle database are stored in the
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.