It is estimated that SQL * Plus is used almost at the beginning in Oracle,
After all, this tool can run on any platform running Oracle,
You can install this tool on the client or on the server,
To install the client, install the client software
MySql: www.mysql.org
First, start and stop the mysql Service
Net stop mysql
Net start mysql
Second, log on to mysql
Mysql-u user name-p User Password
Mysql-uroot-p. After you press enter, you are prompted to enter the password, enter 12345,
Oracle SQL * plus is a client tool that interacts with oracle. In SQL * plus, you can run the SQL * plus command and the SQL * plus statement. The DML, DDL, and DCL statements we usually call are SQL * plus statements. After they are executed, they
Oracle SQL * plus is a client tool that interacts with oracle. In SQL * plus, you can run the SQL * plus command and the SQL * plus statement.
The DML, DDL, and DCL statements we usually call are SQL * plus statements. After they are executed,
SQL * Plus command (1) Introduction: Oracle SQL * Plus is a client tool for interacting with Oracle. In SQL * Plus, you can run the SQL * Plus command and the SQL * Plus statement.
The DML, DDL, and DCL statements we usually call are SQL * Plus
This article mainly introduces someMySQL databaseOfCommand LineSome Common commands, including starting and stopping services, user logon, user management, and use of commonly used batch processing commands. Let's take a look at them.
Start and Stop
SQL * PLUS maintains system variables, also known as SET variables. It can be used to create a special environment for SQL * PLUS interaction, such as: SETSet the display width of the NUMBER data, the NUMBER of rows per page, and the column width.
Supported commands
Besides all SQL statements, the command window supports the following standard SQL * Plus commands in this release:
Command
Meaning
/
Executes the SQL Buffer
? [Keyword]
Provides SQL help on
Let's start a new chapter to learn!When an SQL statement is entered, the statement is present in the SQL buffer (that is, a memory area). This SQL buffer is small and can only have one SQL statement, and the SQL statement that was originally in the
1. Execute an SQL script file
SQL> Start file_name
SQL> @ file_name
We can save multiple SQL statements in a text file, so that when we want to execute all the SQL statements in this file, we can use any of the following commands, which is similar
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.