2014-06-20 BaoxinjianI. Summary
If you develop a UNIX shell in Oracle EBS, it is bound to involve calling Plsql in the shell and calling Plsql in the shell typically by sqlplus this toolAbout Sqlplus need to understand Sqlplus's login and common commands, specific in the introduction of Sqlplus usage1. How to log
2014-06-20 BaoxinjianI. Summary
If you develop a UNIX shell in Oracle EBS, it is bound to involve calling Plsql in the shell and calling Plsql in the shell typically by sqlplus this toolAbout Sqlplus need to understand Sqlplus's login and common commands, specific in the introduction of Sqlplus usage1. How to log
Tags: oracle--sqlplus How to set the width of sqlplus results display Oracle How to set the width of sqlplus results display the Oracle Sqlplus prompt settingFirst, sqlplus query results, can be adjusted according to their own screen conditions, set the following:1. Set the
Our usual DML, DDL, and DCL statements are sql*plus statements that, when executed, can be stored in an area of memory called SQL Buffer, and can only hold a recently executed SQL statement, and we can save SQL in SQL buffer Statements are modified and then executed again, Sqlplus typically deal with the database.
Common:
Sqlplus Username/password such as: Ordinary user login
The DML, DDL, and DCL statements we usually call are SQL * plus statements. After they are executed, they can be stored in a memory area called SQL buffer, in addition, only one SQL statement can be saved recently. We can modify the SQL statement stored in SQL buffer and execute it again. sqlplus generally deals with databases.
Frequently used:
Sqlplus username/password for example: normal user login
When executing some scripts in sqlplus, It is troublesome to specify the script location each time. Therefore, you can set the sqlplus path and place the script to be executed under the configured path, execute the script in sqlplus without specifying the location of the script.
The following describes how to set the sqlplus
Sqlplus cannot be initialized and sqlplus is automatically disabledFirst, install the oracle database. After installation, enter sqlplus In the cmd command window for verification. If there is something that cannot be initialized, configure it. First, find the location where you want to install oracle.F: \ oracle \ product \ 10.2.0 \ db_1 \ BIN my installation pa
Sqlplus Command Format and set Usage and interpretation in sqlplus [oracle @ oracle02 username] $ sqlplus -- helpSQL * Plus: Release 9.2.0.4.0-Production Usage: SQLPLUS [[
Explain the Oracle SQLPlus runtime environment, common Oracle System Function instances, and sqlplus instances
1. Introduction to the SET command
Set command sets the running environment of SQL * Plus. The syntax FORMAT OF THE set command is:
SET system_variable value
The system_variable parameter represents the variable name, and the value parameter represents the variable value.
For example, set time on
easy identification and login. the SQL file path needs to be set through the operating system environment variable sqlpath:
In Windows, you can set the registry project to D:/Oracle/ora92/DBS by modifying the registry project in sqlpath (usually in Oracle-home ).
For UNIX, you can directly add the sqlpath environment variable to the profile file of an Oracle user. You can set export sqlpath =/home/Oracle/APP/Oracle/product/9.2/dbs. The specific login
. Generally, it contains ORACLE_HOME/bin TNS_ADMIN: when connecting to the remote oracle, specify the location of tnsnames. ora LD_LIBRARY_PATH: Specify the search path of the dynamic library in Unix and Linux systems. Windows is not required. SQLPATH: Specify the SQL script search path to be executed. 3. How to run SQL * Plus? Sqlplus is generally installed in the $ ORACLE_HOME/bin PATH. After setting the
Label:
Sqlplus Problems in Interactive interface
Two non-interactive ways to use Sqlplus
1 via external command file
2 via standard input
Use the pipe to do the processing
Places to watch
A simple script
1 Sqlplus problems with interactive interfaceSqlplus is the most important official command line client so
Sqlplus Problems in Interactive interface
Two non-interactive ways to use Sqlplus
1 via external command file
2 via standard input
Using pipelines for follow-up treatment
Places to be aware of
A simple script
1 Sqlplus problems with interactive interfaceSqlplus is the most important official command-line client software
Sqlplus Editing command line usageKeywords: Oracle sqlplus command-line usageOracle database has a lot of query tools, such as the famous plsql, accustomed to the graphical interface, and then face the character interface Sqlplus is really a torture, but I do not know that the immortal said "existence is reasonable."Sometimes it just needs to work in the context
1. What is the initial password after oracle is installed?
Internal/Oracle
Sys/change_on_install
System/Manager
Scott/Tiger
Sysman/oem_temp
2. What is the initial Default User and password of Oracle9iAS Web Cache?Administrator/Administrator
3. How to Create a database in Oracle 8.0.5?Use orainst. If there is a motif interface, you can use orainst/m
4. How to Create a database in Oracle 8.1.7?Dbassist
5. How to Create a database in Oracle 9i?Dbca
6. What does bare device in Oracle mean?A bare de
create new help tables.The installation steps are as follows:1. Log in to Sql*plus as the SYSTEM user with:SQLPLUS SYSTEM2. In UNIX run the SQL script, Hlpbld. SQL, from Sql*plus with:@ $ORACLE _home/sqlplus/admin/help/hlpbld. SQL Helpus. SqlIn Windows run the SQL script, Hlpbld. SQL, from Sql*plus with:@ORACLE_HOME \sqlplus\admin\help\hlpbld. SQL Helpus. SqlThe
Label: http://yunpan.cn/QNXXpjP9aBy6v interview Password 420b want to use Sqlplus in Unix, Linux environment, like in win below, realize up and down page. What do we do? first make sure the OS is loaded with the ReadLine tool. Otherwise, it must be installed. [email protected] ~]$ Rpm-qa | grep readline* Readline-devel-5.1-3.el5 Readline-devel-5.1-3.el5 Readline-5.1-3.el5 Readline-5.1-3.el5 my syste
with the general UNIX design philosophy: read commands from standard input and write the results to standard output .Two non-interactive ways to use Sqlplus 2Sqlplus in non-interactive mode, SQL commands are available from two locations: one is through the external file, but through the standard input.2.1 via external command filesqlplus 用户名/密码@服务器IP/侦听服务名 @命令文件名
Let's give an example.The command file nam
Windows sqlplus/assysdba report the ultimate solution of ora-12560Windows sqlplus/as sysdba report the ultimate solution of ora-12560Windows, sqlplus/as sysdba often report ORA-12560: TNS: protocol adapter error, solve this error, there are multiple methods:
1. Verify that the ORACLE_HOME key and its key value in the windows registry are correct and valid.For exa
[Oracle]sqlplus Start parameter description# su-oracle [Grid]Usage 1:sqlplus-h | -V-H[ELP]:Displays the syntax and usage of the Sql*plus command, and then returns control to the operating system.-v[ersion]:Displays the version number of the Sql*plus, and then returns control to the operating system.Usage 2:sqlplus [[-C Set the Sql*plus command to a compatible ver
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.