I. DataBase
Save data to present data in the form of tables
Ii. SQL
Structured query language (SQL) is an object used to operate relational databases.
DDL (data definition language) is used to create or Delete tables and modify table constraints.
Create table, alter table, and drop table add, delete, and modify table structures.
DML (Data manipulation language), insert records into the table, modify records
Insert, update, delete
Transaction, transaction control language, composed of DML statements, commit;, rollback, savepoint
Select query statement
Dcl Data Control Language, authorization statement grant, revoke
Alter session alter system
Iii. Oracle
Database)
DBMS database management system)
DBA Database Administrator
Database management systems: ms, Microsoft SQL server,
IBM db2, imformix,
Mysql,
Oracle oracle920,
Sybase ase
Iv. Related Operations
Echo $ PATH: configure the environment variable, add/oracledata/oracle/product/9.2.0/bin, and add the oracle command
Echo $ ORACLE_SID: view the Oracle database instance. The instance is the method for accessing the database. Default port number: 1521
1. sqlplus database access commands (local access/remote access) and database connection commands are the database operation environment
Sqlplus user name/Password
2. show user: displays the user Name of the current user.
You can directly connect the user name/password to change your identity. This is the sqlplus command.
Available in sqlplus! You can switch between shell and sqlplus ,! You can use shell commands in sqlplus.
In fact, sqlplus runs a sub-process to execute shell commands.
3. There are two types of tables in the Oracle database: User tables (User-operated tables) and system tables (tables maintained by the database system, also called data dictionaries)
DDL operations on user tables have triggered DML operations on system tables!