1. Different identifiers. The identifier of the function is function and the process is procedure.2. In a function, variable parameters are generally not used, and function values are directly returned using the function name. If a return value
$ Su-Oracle switch to Oracle user first
1. Start Oracle$ Sqlplus/nologSQL> Conn/As sysdbaSQL> startup (generally, you do not need to add parameters. You only need to set environment variables)SQL> quit (exit SQL Mode)$ LSNRCTL start (start listener)
Use the like operator in the where ConditionThe wildcard "%" is used to represent 0 or more characters, while "_" is used to represent a single character.Eg: Where ename like's % ';Use the in operator in the where ConditionEg: where Sal in );Use the
Using Oracle's ready-made sorting method, it is very easy to compile a function to obtain the first letter of Pinyin. You only need to find the corresponding start and end Chinese characters for each first letter and compare them based on these
IMP andExpCommand details:
Exp
ExportMode:
Full mode ---
Export
Entire database user mode ---
Export
Specified user table mode-
Export
The specified
Table
Tablespace mode-
Export
Table
Space
Exp
ExportParameters:
Owner specifies
Export
User List
Oracle databases have three standard backup methods: Export/Import (exp/IMP), hot backup, and cold backup. Exporting spare parts is a logical backup, while cold backup and hot backup are physical backup.
1. Export/import (export/import)
The export
I have read some related posts and articles on the Internet, which are basically the same, but there are some differences in some places. Here I will summarize the differences between the two.
1.
Delete generates rollback and related lock
If you want to obtain the employee record with the highest salary for each department, you can use the following four methods:
Create an example table firstCreate Table EMP
As
Select * from Scott. EMP;
ALTER TABLE EMP
Add constraint
Database Name (db_name), database instance name (instance_name), operating system environment variable oracle_sid, Database Service name (SERVICE_NAME), Database domain name (db_domain), and Global Database Name (global_db_name) is a few concepts
Username: SYS
Password: change_on_install
-----------------------------------------------
Warning! The password of sys is a default password. It is well known to hackers
Additional information:Sys is Oracle's most powerful database management
Oracle 11g cannot install the em. Ear file.If the prompt says no... /Oracle/11g/Solaris/J2EE/oc4j_applications/applications/em. ear file.
After the download of the 11g file, decompress the package and there are two folders. This error occurs
1. Save images to the Oracle database
The structure of the example Table news is: newsid number (10), title varchar2 (100), image (BLOB)
Method 1: Use the oraclecommandbuilder class (this class is used to automatically generate single table commands
Environment Overview: LoadRunner 9.0 sitescope 9.0 Windows 2003 Oracle Database 10g
1. Use the monitoring engine that comes with LR
1. 1. Install the Oracle client on the LR ControllerThis step does not need to be said. Install setup directly, and
Note: organize to Network
24HoursHh24
Select to_char (sysdate, 'yyyy-mm-dd hh24: MI: ss') from dual;
Select to_date ('1970-01-01 13:14:20 ', 'yyyy-mm-dd hh24: MI: ss') from dual;
To_date () function
1.Date Format ParametersDescription
DDay of
When we install ArcSDE, we first need to check the system requirements. Only in this way can we ensure that our server environment runs stably. The following describes how to view the corresponding installation versions in different databases, and
Next, the origin of checkpoints for Oracle learning with inthirties"
The last time we talked about the origin of the checkpoint, the significance of the checkpoint is not the operation of the database itself, but its real value is reflected in the
Oracle9i introduces the merge command. You can execute the inserts and updates operations on a table in an SQL statement at the same time. the merge command selects rows from one or more data sources to update or inserting to one or more tables. in
Paging Query format:
Select * from(Select a. *, rownum RnFrom (select * From table_name)Where rownum )Where rn> = 21
Select * From table_name indicates the original query statement that does not flip pages. Rownum = 21 control the range of each
1. Table Name and column name naming rules
(1). It must start with a letter;
(2). The length cannot exceed 30 characters;
(3) Oracle reserved words cannot be used;
(4). can only use the following characters A-Z, A-Z, 0-9, $, # and so on.
2. Data
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.
A Free Trial That Lets You Build Big!
Start building with 50+ products and up to 12 months usage for Elastic Compute Service