Several Concepts of PL/SQL

1: differences between char and varchar2: Varchar2: variable-length variable length Char: fixed-length fixed length Memory is allocated when char is defined, while varchar2 dynamically allocates memory. The following example clearly illustrates the

Oracle table Connection Technology

Oracle has three table connection technologies: Nested connection, merge connection, and hash connection. 1. nested loop Join) Nested connection divides the dataset to be processed into an External Loop (driving data source) and an internal loop

Oracle Database random number generation function

The DBMS_RANDOM package in Oracle encapsulates some functions that generate random numbers and random strings. The following are commonly used: DBMS_RANDOM.VALUE Function This function is used to generate a random number. It can be used in either of

Oracle concept-database file Overview

Oracle concepts-Overview of database files: Oracle contains three basic files: 1: data file) 2: control file) 3: online redo log file) Concepts of oracle Database files: The final component of the oracle database architecture is reflected in the

How to rebuild an index for an oracle database

When the index fragmentation is too large, the query execution speed will be affected, thus affecting our work efficiency. At this time, the most favorable measure is to re-build the index. This article mainly introduces the process of checking

How to monitor oracle database tables and tablespaces

How to monitor the current situation of oracle database tables and tablespaces Declare Unf number; Unfb number; Fs1 number; Fs1b number; Fs2 number; Fs2b number; Fs3 number; Fs3b number; Fs4 number; Fs4b number; Full number; Fullb number; Begin Dbms_

Oracle Database Export table structure

1. Open the corresponding database through plsql. 2. Select the export users objects sub-menu under the menu tools 3. Select the name of the table to be exported and select the saved path. 4. Click the export button to export the selected

Oracle string Summary

Code used The Code is as follows:-- Sample dataDrop table t_collect purge;Create table t_collectSelect mod (rownum, 30) as flag, lpad (dbms_random.string ('l', 3), 4, '') as valFrom dual connect by rownum Collect function (Oracle10g)-- 1: use

Oracle physical and logical structures

To view the physical file path of an oracle database, you must run the command to view the physical file path of the oracle database. Unless the database is installed by yourself and all security configurations have been performed, otherwise, it is

Oracle custom functions have no input or output parameters

-- 19-1: CREATE a FUNCTION without parameters: create or replace function cur_datetimeRETURN VARCHAR2ISBEGINRETURN TO_CHAR (sysdate, 'yyyy "year" MM "month" DD "day" HH24 "Hour" MI "Minute" SS "seconds" '); END;/-- 19-2: create or replace function

How to find the SQL that causes the ORA-1652

Wed Aug 20 17:16:37 2008ORA-1652: unable to extend temp segment by 128 in tablespace DBA_TEMP To solve this problem, we need to first cause the problem of SQL, there are several possible methods: 1. Set events Alter system set events '1652 trace

Backup solution in Oracle production environment

1. Set automatic database backup control files and SPFILE files 2. Zero-level full database backup for RMAN every Sunday 3. Perform RMAN Level 1 Incremental Backup every day (except Sunday) 4. Full database backup and Incremental backup within

Introduction to new features of oracle 11g statistics collection

Create statistical information for Composite Columns -- Checklist Structure Select * from scott. emp where 1 = 2; -- When a virtual column is created, the virtual column name is output. Select dbms_stats.create_extended_stats ('Scott ', 'emp',' (

How to obtain indexes in Oracle 10 GB

One of the top 10g features of Oracle is the Advisory Framework, which is a collection of optimization consultants that can help you make full use of your database. One of them, the SQL Access Advisor, recommends that you change the indexes and

How to upgrade to Oracle 10 Gb with the shortest downtime

Upgrading hardware is usually easy, But upgrading the database ...... There is no doubt that everyone has a painful experience. An experienced Oracle DBA mainly focuses on the successful completion of the upgrade and the possible downtime. Success

Oracle Distributed Data Solution

Oracle-related Distributed Data SolutionsThis solution may gradually die out in the cloud computing and SOA architecture, but it is still quite practical. This article briefly introduces common data synchronization solutions because Advanced

JAVA code for connecting to Oracle

The latest Oracle connection code should be configured with the environment variable: ClassPath =.; E: j2sdk14lib ools. jar; E: oracleora90jdbclibclasses12.zip The tested computer has an Oracle client installed and can be connected with SQLplus. /* *

Quickly save excel data to an Oracle database

In our work, we may encounter the following situations: the data sent by the customer or colleagues to be investigated is not a dmp file, but an excel file, usually a table with a few records. recently I happened to have encountered this situation,

Summary of multiple cursor result sets returned by the Oracle database

This article uses Oracle 11 GB and. net Enterprise Library to access the database.First, reference the following packageMicrosoft. Practices. EnterpriseLibrary. CommonMicrosoft. Practices. EnterpriseLibrary. DataThe following code returns a

Oracle obtains the specified package. All dependent objects include their sub-objects.

Oracle obtains all objects dependent on a package, including its sub-objects. A temporary table is used to record the nodes that have been traversed.At the same time, a number of layers are used to record the packages that have been traversed. High

Total Pages: 2147 1 .... 1932 1933 1934 1935 1936 .... 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.