Introduction to Oracle PL/SQL

I. Objective of PL/SQL Structured Query Language (SQL) is a common language used to access relational databases. It is a fourth-generation language (4gl) and its execution features are non-procedural, that is, you do not need to specify the

Import large data volumes to Oracle (version 2)

Update content: 1. Add large text import (originally only datareader is supported) 2. Data can be imported from row X. 3. Decide whether to save the data row number. 4. The column ing is case insensitive. 5. Constant columns can be

Exists and in efficiency and usage in oracle

Exists and in efficiency and usage in oracle Replace not in with not exists Select * from tsp_product p where not exists (select ''from tsp_orderitem I where p. id = I. product_id) Select * from tsp_product p where id not in (select product_id

Oracle paging SQL

During the project transformation, the paging data written by the original colleague is to query all records from the database and then to the paging data. Now, the paging data is transformed to dynamically querying the split pages and the number of

[Oracle experiment] Locking: data consistency and integrity

Check the concept on the bus. The oracle lock mechanism is somewhat different from MSSQL. Take the time to sit down and test it. Oracle uses the lock mechanism to provide data concurrency, consistency, and integrity between transactions. These

Batch acquisition of oracle stored procedures, etc.

Colleagues want to save the stored procedure written by the project team, instead of dumping, but they can view it at any time. Each stored procedure is stored as an independent file. The first thing that comes to mind is that the development tool

Oracle restores Deleted Data

1. Obtain the scn Number of the current database Select current_scn from v $ database; (switch to sys user or system user query) The queried scn number is 1499223. 2. query the scn before the current scn number Select * from table name as of scn

Oracle operation instance

: All departments.Select dept. deptno, dept. dnameFrom dept, empWhere dept. deptno = emp. deptno2. List all employees with higher salaries than SMITH.Select * from empWhere sal> (select sal from emp where ename = 'Smith ')3. List the names of all

Oracle database connection string (various versions)

The following are all Oracle database connection strings. The summary is very detailed, but I did not summarize them. I just learned from Oracle. Paste it out. First, it is convenient for you to search for it later, and second, it also provides

Oracle SQL Basics

1. nvl ('A', 'B') if A is null, B is displayed. 2. DECODE (value, if1, then1, if2, then2, if3, then3,... else) 3. grouping function usage, with a parameter. The parameter is the field name. If the result is obtained from this field, 1 is returned.

Common SQL statements in oracle databases (updated in 8.27)

The SQL statements that I often use in my daily work are summarized as follows for future reference. 1. SELECT * FROM t_doc t order by greatest (T. load_Count, T. read_Count) desc 2. select t from the sum of the two columns. *, (nvl (T. load_Count, 0

Database Cluster System Research Series (3)-implementation principles of meobius and DBTwin

DBTwin Database ClusterShows the principle structure of the database cluster: 20130312210124. png(27.47 K)21:05:42 DBTwin implementation principle 20130312210230. png(19.52 K)21:05:42 Transactions are a basic but important concept in

Summary of SQLException that IBATIS is easy to handle typeHandler classes

1.Java. SQL. SQLException: Invalid column type Cause: A. the Data Type of the incoming, OUT, or typeHandler parameters IN ibatis does not match the data type of the attribute values IN the Oracle custom object; B. What is in the call SQL

Plsql explicit cursor

The processing process of an explicit cursor includes: Declare the cursor, open the cursor, search the cursor, and close the cursor. Declared cursor CURSOR c_cursor_name IS statement; A cursor is equivalent to a query result set. The query result is

[Terry Notes] Oracle session tracking (2): TKPROF

  Run tkprof in the system to convert the trace file into a format that can be read by humans.(I personally don't feel very good. I don't need to get a good format when the trace file is output) Syntax:Tkprof tracefile

What is the difference between DELETE and TRUNCATE?

What is the difference between DELETE and TRUNCATE? Delete, truncate, They all delete the data in the table, but cannot delete the table structure. delete can delete the data of the entire table or delete one or more data that meet the conditions

Oracle RAC flash back database operation

[Oracle @ zhongwc1 ~] $ Sqlplus/as sysdba SQL * Plus: Release 11.2.0.3.0 Production on Wed Jan 23 17:02:01 2013 Copyright (c) 1982,201 1, Oracle. All rights reserved. Connected: Oracle Database 11g Enterprise Edition Release 11.2.0.3.0-64bit

Usage of DBMS_RANDOM.STRING in Oracle

DBMS_RANDOM.STRING (var1, var2) This function has two parameters. The var1 parameter values include u, l, a, x, and p. U --> uppercase L --> lowercase A --> mixed case X --> uppercase, alpha & numeric P --> any printable char The above

Oracle External table import time date type data

1. Create an External table directory Create directory extdir as 'e: appextdir '; 2. Define External tables Create table ext_test ( Rt date, Rtype char (1) ) Organization external ( Type oracle_loader Default directory extdir Access parameters

Oracle Database Basics

Concept: Database: a warehouse that organizes, stores, and operates data in batches. Data Warehouse is a basic term in the database field. Here it refers to its conventional meaning. Database Management System (DBMS): A software module used to

Total Pages: 2147 1 .... 2113 2114 2115 2116 2117 .... 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.