• Introduction1) Data Base (database)A storage warehouse for storing data and managing data is a collection of data that is effectively organized together.2) Common database softwareLarge database: OracleSmall database: MySQL MySQL3) RDBMS
Automatically disconnects after a database is started (about 10 minutes)method One, directly modify the resource configuration fileThree steps to complete in a sqlplus environment.The first step is to query the resource file and find the profile
Stored procedures for sending messagesCreate or replace procedure up_send_mail (SUBJECTINVARCHAR2), mail_content in varchar2 (a), Re_out out number (2)) as/********************************* Write: Dead leaf effect: Send message Date: 2013-03-13
Subquery: Contains another query inside a query.Normal subquery--Query for information about all employees that are higher than the 7654 wage select * from emp e where e.sal > (select Sal from emp where empno = 7654);--query out wages higher than 765
The recent optimization of Oracle database efficiency, and then on the Internet to check the existence of a number of high-efficiency methodsThere are a lot of suggestions on the Internet first method, I did a test, but probably not enough data
1. Open Oracle Related services2. Create Oracle UsersCreate user username identified by password; (DBA role creation required)3. Rights Management(1) Add permissionsGrant permissions, role to user name [with ADMIN option] (System permissions);Grant
Original Url;http://www.oschina.net/question/30362_4057?fromerr=fiy27yllAuthor: CrazyinsomniaFirst, the concept of ROWIDStores the location of row in the data file: 64-bit encoded data, A-Z, A-Z, 0-9, +, and/,How row is stored in the data
It's been all the time. SQL Server suddenly with Oracle egg pain of the even stored procedures to execute a query will not be all kinds of Baidu now record the following syntax problemsOrcale The syntax for creating a stored procedure,Create or
View all user partition tables and partitioning policies (1, Level 2 partition tables are included):SELECT p.table_name as table name, decode (P.partitioning_key_count, 1, ' primary partition ') as partition type,P.partitioning_type as partition
1. See if Oralce is an archive or non-archive modeSql> select Name,log_mode from V$database;NAME Log_mode---------------------------------------- ------------------------------------YOON ARCHIVELOGSql> select Name,log_mode from V$database;NAME
Sql> create Pfile from SPFile;Modify the Pfile file, add the implied parameter *._enable_rename_user= ' TRUE ' to start the database in restrict mode1, [[email protected] ~]$ cd/u01/app/oracle/product/11.2.0/db1/dbs/2, [[email protected] dbs]$
Oracle trigger usage example details, oracle trigger instance
This example describes how to use Oracle triggers. We will share this with you for your reference. The details are as follows:
I. Introduction to triggers
The trigger definition means
Turn: Use of merge into in Oracle, oraclemerge
Recently, Oracle's Merge was used in the project.
This command uses a statement to update and insert data to a table from one or more data sources. in ORACLE 9i, the UPDATE and INSERT keywords must be
Whether the Oracle query records are efficient or not.
Recently, we need to optimize the efficiency of the Oracle database, and then check a lot of efficient methods on the Internet to determine whether the record exists.There are many suggestions
Modify the oracle 10g Character Set and oracle10 g Character Set
Modify the character set of oracle 10 GB
Modify the database character set to ZHS16GBK.View server character sets
SQL> select * from V $ NLS_PARAMETERS; Modify: $ sqlplus/nologSQL>
[Translated from mos] "WARNING: Noclusterinterconnecthasbeenspecified" appears in the alert log of the database instance"
"WARNING: No cluster interconnect has been specified" appears in the alert log of the database instance"
Source:No Interconnect
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