Execute the sqlplus command in SSHSecureShell. If the SQL plus command cannot be found, the oracle environment variable is not configured. The configuration method is as follows: Find. ba under the root directory of the current user
Run the sqlplus command in SSH Secure Shell. If the SQL plus command cannot be found, the oracle environment variable is not configured. The configuration method is as follows:
Visual tools are used to develop and debug Oracle stored procedures, such as PLSQLDEVELOPER and TOAD. No one is stupid enough to use vim for development and sqlplus for debugging.
Visual tools are used to develop and debug Oracle stored procedures, such as pl SQL DEVELOPER and TOAD. No one is stupid enough to use vim for development and SQL plus for debugging.
In general, we use visual tools such as pl SQL DEVELOPER and TOAD to develop and debug
When a DBA logs on to a local or remote database, it is common to log on to the database using the "sqlplus username/password @ Connection Service name" method to save time, if we replace Oracle SQLPlus with our own implementation, and record its login information when using it, we will get the database username, password, and other information.
This is a very simple method, which has its own limitations. H
1. Oracle is not in the DBA group.
[Root @ localhost ~] # Gpasswd-D Oracle DBARemoving user oracle from group DBA[Root @ localhost ~] # Su-Oracle-Bash:/etc/profile: Line 61: syntax error: unexpected end of File[Oracle @ localhost ~] $ Sqlplus/As sysdba SQL * Plus: Release 10.2.0.1.0-production on ç ú?å 8 â 9 23:57:19 2013 Copyright (c) 1982,200 5, Oracle. All rights reserved. Error:ORA-01031: insufficient privileges Enter user-Name: 2. Check w
Tags: sql GES fine connect amp sel sele term sqlplusLogging in before setting up Sqlplus will be like that with only one sql:Our aim is to display [email protected] When logged in (instance name is blocked, please understand ha ~)Directory found: $ORACLE _home/sqlplus/adminEdit file: Glogin.sqlAdd the following content:SET Termout OFFDEFINE Sqlprompt=noneCOLUMN sqlprompt New_value sqlpromptSELECT USER | | '
1.sqlplus Execute SQL Error: ora-01756:quoted string not properly terminated
Category: Technology
An error occurred while executing the SQL file in Sqlplus: ora-01756:quoted string not properly terminated but SQL is not a problem, looking for many reasons, may be due to use Toad Export SQL ins The problem with the ERT statement, the encoding set, is caused. First, add
Label:1. Program runs-----Sqlplus Landing ordinary users: scott/brant;General Administrator user login: system/brant;Advanced Admin User login:1> switch to other users:sql> Conn sys/brant as SYSDBA; (Switch to advanced Admin user)2> re-landing: Sqlplus sys/brant as SYSDBA;Switch back to the normal account again:Conn Scott/brant;Conn System/brant;Conn Sys/brant as SYSDBA;View current users: Show user;Test:1>
The first is a no-response question for the click:If the net Configuration Assistant is available under the client, the server-side NET Configuration Assistant tools are not available for the following reasons.The Oracle_home configuration error in the environment variable may be on one hand, and the Oracle_home system variable can be deleted directly at this time. In addition, the system path, if the client's Orale path and DB of the Oracle path, may start the database directory under the "Conf
The first time in their own computer to connect to the remote database, tried a morning unexpectedly did not succeed, and then found on the internet a bunch of methods finally connected to the-_-!!Summary: simple operation; one stepI mainly use the Oracle 11g database, sqlplus no requirements;First, if you do not have an Oracle database installed on your computer, you will not see the "connection as" in the red box, and your input content point is det
Label:I. Configure the Yum source and install the readline*
configuration local yum
1, Mount disc
Mount/dev/cdrom/mnt/media
2, create a new local Yun source configuration file
vi/etc/ Yum.repos.d/local.repo
Add the following information:
[local]
name=local
baseurl=file:///mnt/media
enable=1
gpgcheck=0
then yum-y install readline*
two. Download and install Rlwrap
tar
./configure
Make Make
install
three. Modify the Oracle u
After the Oracle database is created, the System user sys or sysdba cannot log on to sqlplus. The system user sys or sysdba cannot log on to sqlplus to run-> cmd. Enter sqlplus/nolog and press Enter. Enter conn/as sysdba and press Enter. Drop user test cascade; (Note: if a user test exists, all information of the user is deleted first .) Create user test identifi
How to enable the sqlplus AutoTrace function execution plan the following methods can grant the Autotrace permission to Everyone. If you need to restrict the Autotrace permission, you can change the public authorization to the specific user authorization. D: \ oracle \ ora92> sqlplus/nologSQL * Plus: Release9.2.0.1.0-Production on Tuesday June 3 15:16:03 2003 Copyright (c) 1982,2002, Oracle Corporation. all
When Oracle is connected to sqlplus again, it is easy to forget the solution time, or write it down. When SQLPLUS is connected to ORACLE, Chinese characters are displayed as question marks and character sets are reset. Because it is not a machine of its own, the Registry will not be moved, but the correct information can be returned by temporarily checking the data. C: \ Users \ Administrator> set nls_lang
1. Problem scenarios
Using sqlplus in Linux is uncomfortable. The upper and lower keys and the backspace keys cannot be used, seriously reducing production efficiency. One day I finally found this rlwrap.
2. Software Download
: Http://download.csdn.net/source/3288920
3 root user installation
[Root @ oracle11g ~] # Rpm-uvh rlwrap-0.18-1.i386.rpm
4. Environment Variable Configuration
[Root @ oracle11g rlwrap-0.30] # vi/home/Oracle/. bash_profile
Alias
Welcome to the Oracle community forum. There are a lot of skills to interact with 2 million technicians and enter sqlplus. I will summarize it later. SQLcolumnFnew_valFSQLselectto_char (sysdate, yyyymmddhh24miss) | .txtffromdual=f--------------200501241700006.txt SQLspoolFC
Welcome to the Oracle community forum and interact with 2 million technical staff> there are many tips for entering sqlplus. I will sum
1. Oracle Installation
Please refer to the following link for more information: http://wenku.baidu.com/view/d01ffd43336c1eb91a375d68.html.
2. Use the command line sqlplus to connect to Oracle
(1) Check the listening status
C: \> LSNRCTL status
LSNRCTL for 32-bit windows: Version 9.2.0.1.0-production on 2005 11:01:01
Copyright (c) 1991,200 2, Oracle Corporation. All rights reserved.
Connecting to (description = (address = (Protocol = TCP) (host = oyez)
Sqlplus is prohibited in Oracle db.
Record it first:
How to Disable a SQL * Plus Connection for a User (Documentation ID 124121.1)
Use the sqlplus/nolog command in the DOS window to log on to oracle. The result is similar to "sqlplus is not an internal or external command". What should I do?
Possible causes:1. The oralce client is not correctly installed;2. A
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_2 in which ociuldr.exe is a text export tool, specific parameters can refer to export nls_lang = xxxx (such as simplified chinese_china.zhs16gbk) 3. if you develop a Java application
Program And configure some environment variables, such as classpat
Sqlplus is the preferred client for connecting to Oracle. Its advantages are self-evident. However, it also has some minor problems, such as the inability to move the cursor using the cursor key, or the inability to display the previous command or statement. This article uses rlwrap to improve these small problems.
From http://utopia.knoware.nl /~ Hlub/UCK/rlwrap/download the rlwrap package. decompress the package and follow the steps in the install
Feedback settings in SQLPLUS
When SQL plus is used to execute an SQL statement, a prompt such as "XX rows have been returned" may be returned for the result returned by a SELECT statement, but this prompt is not found when a database is opened recently. According to master @ Qiao Xiaoyang, there is a feedback parameter setting, which is summarized as follows.
Feedback can be abbreviated as feed. It has three values: ON/OFF/N. ON indicates opening SQ
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.