1. Manual start method:
$ ORACLE_HOME/bin/LSNRCTL start
The listener continues to run after it is started.
Sqlplus/nolog
SQL> Conn/As sysdba
SQL> startup
The database has been started...
2. automatically start the database
Automatic
Round and trunc date functions
Table 7-13 lists the format models you can use withRoundAndTruncDate functions and the units to which they round and truncate dates. The default model, 'dd', returns the date rounded or truncated to the day with a
Database listening suddenly experienced a problem. After reconfiguration, restart the database. It is found that both shutdown and immediate have the same effect. After more than 10 minutes, no response has been made.
After checking the
OracleCondition branch usage
A. If... then
B. If... then... Else
C. If... then... elsif .... Else
Instance1
Question: When writing a process, you can enter an employee name if the employee's salary is lower2000To increase the
PLSQL object:
Local Stored Procedure
Local Functions
Package
Package body
Type
Type Body
Anonymous Process
Compilation type
Intermediate interpreted bytecode
LocalC LanguageTarget executableCode(Not applicable
Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/-->
Create
Or
Replace
Procedure
Send_mail (Pemail
In
Varchar2
,PPW
In
Varchar2
,PID
In
Varchar2
)
Is
There are four functions that support regular expressions in Oracle:
1. regexp_like: similar to like
2. regexp_instr: similar to instr
3, regexp_substr: similar to substr
4. regexp_replace: similar to replace functions, regexp_replace is
■ Modify the initialization parameter control_files SQL> alter system set control_files ='/Export/home/opt/product/10.1.0.3.0/oradata/ldfsys/control01.ctl ','/Export/home/opt/product/10.1.0.3.0/oradata/ldfsys/control02.ctl
Some tables are lost when the full database is exported to the new database in the business database the day before yesterday.
After reading the log, the analysis shows that some empty tables are not exported. Google knows that the new feature in 1
Record in table: user_constraints
Select
A. Owner,
--
Primary Key owner
A. table_name,
--
Primary Key table
B. column_name,
--
Primary Key Column
C. Owner,
--
Foreign key owner
C. table_name,
--
Allow users to access objects belonging to other users or executeProgramThe Oracle system provides three permissions:
Object-level
System system level
Role role-level
These permissions can be granted to users and special users as public or
The exp export tool compresses data backup in the database into a binary system file, which can be migrated between different operating systems.The IMP import tool imports binary system files generated by exp into the database. 1. Export tool exp1.
First install the two software. Then modify
Tnsnames. ora file to add a database.
Modify as follows:
Add:
demo = (description = (address = (Protocol = TCP) (host = 10.0.3.162) (Port = 1521) (CONNECT_DATA = (Server = dedicated)
Nonsense written in front
Since the work needs to be frequently used in Oracle stored procedures, arrays are an inevitable element, so let's take a look at how Oracle stored procedures use arrays to a low level ....
The array is a data type. You
The most basic task of a database is to store and manage data. The only database feature that an end user can see is its performance: the speed at which the database processes the results of a specified query, and return the result to the tools and
After modifying a stored procedure and checking whether the modified stored procedure is correct, the stored procedure is debugged, after debugging, the system finds that a record is missing from the result set. After searching, it finds that the
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
File Location (Oracle 9i):/export/home/Oracle/APP/Oracle/admin/Oracle9i/pfile/initoracle9i. ora
Important configurations
Db_name = "51 Test"
A database identifier, which corresponds to the name specified in the create database statement.
The command set of Oracle clusterware can be divided into the following four types:
Node layer: osnodes
Network Layer: oifcfg
Cluster layer: crsctl, ocrcheck, ocrdump, ocrconfig
Application Layer: srvctl, onsctl, crs_stat
Node
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