Stored procedures are used to perform specific operations when a stored procedure is established, you can specify either an input parameter (in) or an output parameter (out), you can pass the data to the execution part by using the input parameters
There are three ways Oracle's pagingMethod one according to rowID to divideSELECT * fromEMPWHEREROWIDinch (SELECTRID from(SELECTROWNUM RN, RID from(SELECTROWID RIDs, EMPNO fromEmpORDER byEMPNODESC) WHEREROWNUM((currentpage-1)
In 11g, the default self-collected statistics for the time is 10 o'clock (Monday to Friday, 4 hours), 6 a.m. (Saturday, Sunday, 20 hours), as seen below:Select A.window_name, a.repeat_interval,a.duration from Dba_scheduler_windows A,
First, create a user overview: in Oracle to create a new user using the Create USER statement, typically with the DBA (database administrator) permissions to use. Create UserUser name identified byNote: Oracle has a problem, the password must start
Overview of managing user passwords with Profiles: Profile is a collection of commands that are password-constrained, resource-constrained, and when a database is established, Oracle automatically establishes a form named default. When the setup
1. Direction of DBA Development: Business DBA, architect (course 13, may be the case, but also reference)2, develop good habits: less use of graphical interface, multi-use Sqlplus3. Remember common SQL statements:Size of the query tablespace (the
1, put the instantclient directly into the D packing catalogue2, Registry modification3, environment variable settings:Right-click Computer (My Computer) → advanced system settings → advanced → environment variablesIn the system environment variable
the recipient has only one of the following procedures:CREATE OR REPLACE PROCEDURE P_mail_sina (sender in VARCHAR2,--SenderRecipient in VARCHAR2,--Receiving personSubject in VARCHAR2,--Email subjectMessage in VARCHAR2) is--Email contentMailhost
Very often we will appear, for example, if a piece of data already exists in the table, update it, assume that it does not exist, and insert the new data. Assuming that you don't use the merge syntax provided by Oracle, you might want to check the
First, management index-Principle IntroductionAn index is a data object used to speed up data access. Proper use of indexes can significantly reduce I/O times and thus improve data access performance. There are many kinds of indexes we mainly
Packages are used to logically combine procedures and functions, which consist of package specifications and package bodies.1), we can use the Create Package command for creating packages such as:I, create a package sp_packageII. Declare that the
First, IntroductionA role is a collection of commands related to permissions, and the primary purpose of using roles is to simplify the management of permissions.Assume that there are user a,b,c in order for them to have the following permissions1.
DBA_Tablespace table space concept and control (concept), dba_tablespace Control
2014-07-24 BaoXinjian
I. Summary
We know that the oarcle database actually stores data files );
Oarcle tablespaces (tablespaces) are actually a logical concept. They
The host of oraclelistener. ora cannot be set to localhost. Instead, it must be the machine name. Otherwise, it cannot be connected by an IP address.
# Listener. ora Network Configuration
Oracle snapshot Management
---- Manually create an oracle SnapshotBEGINDBMS_WORKLOAD_REPOSITORY.CREATE_SNAPSHOT ();END;/
--- Delete a snapshotFor more information about snapshots, see DBA_HIST_SNAPSHOT.
BEGINDBMS_WORKLOAD_REPOSITORY.DROP_SNAPSHOT_
Common SET commands in ORACLE1 SET TIMING ON
Description: displays the SQL statement running time. The default value is OFF.
It is used in SQLPLUS and the time is accurate to 0.01 seconds. That is, 10 ms.
In PL/SQL DEVELOPER, the time is accurate to
DRP Oracle_11g Database Installation
I don't know if you are confused like this or that when installing the Oracle database. Today, I will take a look at the installation process of the Oracle database as a summary to facilitate future study.
First,
Relationship between OracleServiceXXX and Oracle instances in windows
In fact, oracle in windows is completely dependent on OracleServiceXXX in the window service when the oracle instance is started. This XXX is the oracle Instance name (note that
Oracle user locked
Sqlplus sys/password @ localhost: 1521/cmsx as sysdba
SQL * Plus: Release 11.2.0.1.0 Production on Monday July 21 13:33:13 2014
Copyright (c) 1982,201 0, Oracle. All rights reserved.
Connect:Oracle Database 11g Enterprise
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