Oracle SQL in Plsql

Newly installed Oracle and Plsql, take oracle11g as an example1, just installed after the two default system account and initial password: Sys/change_on_install,system/manager2, if you forget or do not know the password, you can enter the Sqlplus

Oracle Automatic Backup

The data in Oracle is backed up.Description:Usage Prerequisites:The Oracle client needs to be configured.Function:Back up the Oracle database.DescriptionNewly backed up database in the backup directory, the last backup is stored in the Old_backup

Oracle:ora-12514:tns: Listener currently does not recognize the requested service in the connection descriptor

Win7 the ultimate version of the installation oracle11g, the database can be used normally, restart the system, connect to the database again, prompt:Ora-12514:tns: Listener currently does not recognize the requested service in the connection

An explanation of the difference between undo and redo in Oracle

ole

Learning the design pattern has been a while, the first contact design mode, although the example is simple, vivid, but still feel is very abstract. Today also learned the design pattern of decorative mode, that is, the decoration mode to understand

Internal optimization issues for Oracle databases

Internal optimization issues for Oracle databasesThe internal optimization of Oracle database is a complex issue, and when you think of the internal understanding of Oracle, Oracle has removed some of the old features and added some new features.

Oracle Temp Table

Brieflydrop table tmp_qry_cus_186mcc_highuser_d;Create global temporary table Tmp_qry_cus_186mcc_highuser_d(USER_ID Number (15)) on commit preserve rows;This temporary table does not occupy the table space, and the different sessions can not see

Some issues with Oracle

Long time no Oracle, this time because of a project needs, and re-review of Oracle.The version of Oracle I am using is Windows Oracle 11G_R2.First, let's start with the installation. This is not a big problem, mainly in the installation time. There

Functions of Oracle Practice--PL/SQL Foundation

Functions of the PL/SQL Foundation/* function: You can have a PL/SQL subroutine that returns a worthy name and must have a return value keyword:function return*/-- function 1Create or Replace function Helloworldreturn varchar2--specifies the return

Complete removal of Oracle database under Linux operating system

1. Turn off Oracle server and background processes Ps-ef | grep Ora shut down the database shutdown immediate 2. Turn off the monitor lsnrctl status if it is on, do lsnrctl stop.3. Delete the $oracle_home file below and delete the database using the

Oracle transactions and functions

Transactions 1 transactionSet the save point: savepoin; Rollback: rollback to; Roll back all transactions: rollback; Note: After a save point is created, the saved point does not exist once it is submitted (commit ). 2 read-only transactions A

Oracle table join -----) HashJoin)

Hash join is a table JOIN method that uses HASH operations to obtain the JOIN result set when two tables are connected to tables. For sorting and merge joins, if the two tables obtain a large result set after applying the specified predicate

OraclePL/SQL Advanced Programming

1. Composite data type-record type ? Syntax format Type name is record ( Field 1 Field 1 type [not null]: = expression 1; Field 2 Field 2 type [not null]: = expression 2; ... ) ? Note: mutual assignment between records requires that the two records

Case of ORA-19698 error in RMAN recovery from different machines

Lab environment: Operating System: Oracle Linux Server release 5.7 64 bit Database Version: Oracle Database 10g Release 10.2.0.4.0-64bit Production Case study: To test and verify the validity of the backup, you need to restore the backup set of

Example of deadlock caused by Oracle foreign key not indexed

-- Create a table as a sub-tableCreate table fk_t as select * from user_objects;Delete from fk_t where object_id is null;Commit;-- Create a table as the parent tableCreate table pk_t as select * from user_objects;Delete from pk_t where object_id is

Oracle practices-Basic PL/SQL code blocks

PL/SQL basic getting started code block PL/SQL:A programming Language combined with a Structured Language (Structured Query Language) is an extension of SQL and supports multiple data types, such as large objects and Collection types, you can use

Oracle practice -- synonyms and sequences of PL/SQL Basics

Synonyms and sequences of PL/SQL Basics PL/SQL: a programming Language combined with a Structured Language (Structured Query Language). It is an extension of SQL and supports multiple data types, such as large objects and Collection types, you can

Solve the Problem of MyBatis inserting data in Oracle and returning the primary key

Introduction: In MyBatis, when you want to insert data in Oracle, the primary key value is returned, instead of the number of inserted data... Environment: MyBatis 3.2, Oracle, Spring 3.2 SQL Snippet in XML Configuration: SELECT

ORA-19809: exceeds the limit on the number of recovery files

ORA-19809: exceeds the limit on the number of recovery filesI. Fault symptom:RMAN> backup database;Start backup fromUse the target database control file to replace the recovery directoryAllocated channel: ORA_DISK_1Channel ORA_DISK_1: sid = 158

Oracle practice -- triggers and packages based on PL/SQL

Triggers and packages based on PL/SQL Package /* Package: encapsulate objects such as stored procedures, functions, variables, cursors, and exceptions. Voice and body composition Advantages: 1. modularization; 2. Easier application design; 3.

Oracle practice -- PL/SQL basic functions

Basic PL/SQL Functions /* Function: You can have PL/SQL subprograms that are named, and must have returned values. Keyword: function return */ -- Function 1 Create or replace function helloworldreturn varchar2 -- specifies the return type. The

Total Pages: 2147 1 .... 2070 2071 2072 2073 2074 .... 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.