Basic Concepts of Oracle

• 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

Oracle automatically shuts down database connections

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

Help classes that connect to Oracle

Package util;Import java.sql.Connection;Import Java.sql.DriverManager;Import java.sql.PreparedStatement;Import Java.sql.ResultSet;Import java.sql.SQLException;public class Dbconn {public static Connection getconnection () {Define a Connection

Oracle Send mail stored procedures

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

Oracle Sub-Query

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

Efficiency issues with Oracle query logging

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

Oracle Basic Knowledge Note

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

"Reprint" Oracle Index detailed

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

Oracle cuts strings after a single row of multiple lines

Original sql:Select substr (field1, InStr (field1, ' | ', 1, rownum) + 1, InStr (field1, ' | ', 1, rownum + 1)- InStr (field1, ' | ') , 1, RowNum)-1) as Field2 from (select ' | ' | | ' A|bbb|cccc|ddddd|ee|d|a '

Oracle 11g tablespace Usage

Oracle database table Space usage query:Select B.file_name Physical file name,B.tablespace_name table Space,b.bytes/1024/1024 size M,(B.bytes-sum (NVL (a.bytes,0)))/1024/1024 has used M,SUBSTR ((B.bytes-sum (NVL (a.bytes,0))/(b.bytes) *100,1,5)

Pits encountered with Oracle stored procedures

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

Oracle 11g Partitioned Table

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

Oracle Archive/Non-archive

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

Oracle View implicit parameter script

Set Linesize 132Column name format A30Column value Format A25SelectX.KSPPINM name,Y.KSPPSTVL value,Y.KSPPSTDF IsDefault,Decode (Bitand (y.ksppstvf,7), 1, ' MODIFIED ', 4, ' system_mod ', ' FALSE ') Ismod,Decode (Bitand (y.ksppstvf,2), 2, ' TRUE ', '

ORACLE 11G R2 Modify "user 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

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

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.

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 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"

[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

Total Pages: 2147 1 .... 1784 1785 1786 1787 1788 .... 2147 Go to: GO

Contact Us

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

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.