Reset the sequence of Oracle

The sequence resetting of Oracle found that an exception occurred to the incremental value of a sequence, but it was not incremented as expected. Therefore, the sequence reconstruction method must be used to fix the problem. However, in order to

Oracle returns an even number of data rows

Oracle returns an even number of data rows. When the number of data rows in the query table is an odd number, a blank row is automatically added and an even number of data rows are returned. If the number of data rows in the query table is an even

Oracle-autonomous transaction analysis

Oracle-autonomous transaction analysis PRAGMA AUTONOMOUS_TRANSACTION database transaction is a unit operation. Either all operations are successful or all operations fail. In Oracle, a transaction starts from executing the first data management

Oracle paging SQL statement

Oracle paging SQL statement 1. select * from t_xiaoxi where ROWID in (select rid from (select rownum rn, rid from (select rowid rid, cid fromt_xiaoxi order by cid desc) where rownum 9980) order by cid desc; execution time 0.03 seconds 2. select *

Oracle (4) Four Data Types

When compiling pl/SQL programs, you can define variables and constants. scalar type (scalar) B. composite c. reference d. lob (large object) scalar type (scalar)Declarec_tax_rate number (3, 2): = 0.03; -- username www.2cto.com -- v_ename emp. ename %

A solution for ORA-01034 and ORA-27101

One solution for ORA-01034 and ORA-27101 is to configure Win2003 + Oracle 11g + Memory 3G1, first check whether oracle listening and oracle services are started. Start oracle listener: In the command line window of cmd, enter lsnrctl start and press

Use rman duplicate... from active database to create external uard (for each L

Use rman duplicate... from active database to create external uard (for oracle 11g) oracle 10g can implement external uard through the backup-based rman DUPLICATE, back up the DATABASE through steps, and restore the DATABASE on the standby side. At 1

Use of oracle 11g r2 LogMiner

The general process of using oracle 11g r2 LogMiner! Use the oracle log analysis tool LogMiner. set the date format to alter system set nls_date_format = 'yyyy-mm-dd hh24: mi: ss' scope = spfile; select to_char (sysdate, 'yyyy-mm-dd hh24: mi: ss ')

Problem solving-occurrence Symbol & quot; (& quot; when the following is required)

Solution to the Problem -- the symbol "(" one of the following is required) encountered a problem during the creation of the stored PROCEDURE today: www.2cto.com procedure qiuyue. PRO_INSERT_DYNA_TABLE compilation error: PLS-00103: Symbol "(" when

Solution to ORA-01578 (data block corruption) Errors

ORA-01578 (data block corruption) Error resolution error: the following error occurred during exp: EXP-00056: encountered ORACLE error 1578 ORA-01578: ORACLE data block corruption (file number 4, block number 65) ORA-01110: data file 4: 'e: \ ORACLE

Common functions of Oralce SQL language (1)

Common functions of Oralce SQL language (I) character functions this function generally receives characters as parameters and can return characters or numbers. The most common functions are. the CONCAT function is mainly used for string connection.

Update large data fields in oracle

In oracle, large data fields are updated. Recently, a table with more than 0.7 million data records is updated. The update statement is used directly at the beginning, as shown below: 1 www.2cto.com update content set pic_bak = pic; it is found that

Auto-increment of oracle primary keys

Oracle primary key auto-increment 1. Compared with the local primary key number type, the id is the max (id) to obtain the table each time the data is stored, followed by + 1, the time can be used as the primary key and is unique. 2. The official

DDL operations on Oracle databases

Create and manage Data Definition Language (DDL) statements are used to define the database structure or schema. some examples: · CREATE-to create objects in the database · ALTER-alters the structure of the database · DROP-delete objects from the

No_data_found exception handling when selecting into in Oracle triggers

In the Oracle trigger, select into reports no_data_found Exception Handling. In red, create or replace trigger TIG_MONITOR_ALARM after insert on failed for each row www.2cto.com declare -- standard value number; -- Alarm fact table id liveid number;

Oracle update operations

Oracle update operation copy TABLE: [SQL] CREATE TABLE myemp AS SELECT * FROM emp; www.2cto.com 1. add data Syntax: [SQL] INSERT INTO tablename [(field name 1 field name 2,...)] VALUES (value 1, value 2 ,...); add a piece of data: Recommended usage:[

Dual in oracle

In oracle dual explanation, oracle introduces dual to conform to the Syntax 1. From the perspective of name, dual is not a acronym, but a complete word. Dual refers to logarithm, Which is dual and dual when used as an adjective. 2. The dual table in

Windows 7 opens plsql login does not display a blank prompt box solution

When Windows 7 is enabled, plsql logon fails. A blank prompt box is displayed. Solution: Sometimes ORACLE is installed in Windows 7, and the database cannot be connected using cmd plsplus and plsql software. plsql reports a blank prompt box and

TO_DATE TO_CHAR format in Oracle

In Oracle, TO_DATE TO_CHAR format TO_CHAR converts a date or number to a string TO_DATE format to convert a string to a database. The date type conversion function TO_NUMBER converts a character to a number. TO_CHAR uses the TO_CHAR function to

REGEXP_SUBSTR function in Oracle

In Oracle, The REGEXP_SUBSTR function in Oracle is described as follows: in oracle, '17, 20,23 'is split into '17', '20 ', '23. REGEXP_SUBSTR function Format: function REGEXP_SUBSTR (String, pattern, position, occurrence, modifier) _ srcstr: String _

Total Pages: 2147 1 .... 1786 1787 1788 1789 1790 .... 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.