Summary of new features in Oracle 12C SQL

Source: Internet
Author: User

Summary of new features in Oracle 12C SQL

Multiple indexes on the same field

Before Oracle 12c R1, a field cannot have multiple indexes in any form. Some may wonder why a field usually requires multiple indexes. In fact, there are many fields or field sets that require multiple indexes. In 12c R1, as long as the index type is different, a field can be included in a B-tree index, or in a Bitmap index. Note that only one type of index is available at a given time.

Migration from 32-bit to 64-bit for a single Oracle instance

Install Oracle 11gR2 (x64) in CentOS 6.4)

Steps for installing Oracle 11gR2 in vmwarevm

Install Oracle 11g XE R2 In Debian

Paging Query

In earlier versions, you need to use ROWNUM to set a "label" for the query results to implement paging query.

Introducing OFFSET and FETCH in 12c to implement quick Paging

Invisible Field

In earlier versions, to hide important data fields to avoid displaying them in common queries, we often create a view to hide the required information or apply certain security conditions.

In 12c R1, you can create invisible fields in the table. When a field is defined as invisible, this field will not appear in a common query, unless explicitly mentioned in an SQL statement or condition, or DESCRIBED is included in the table definition. It is very easy to add or modify an invisible field, and vice versa.

When fields are defined as invisible, they are not displayed when the table structure is described. However, you can make the following settings at the SQL * Plus prompt to display information about invisible fields:

SQL> SET COLINVISIBLE ON | OFF;

The preceding settings are only valid for the DESCRIBE command. Currently, it cannot produce results for SELECT statements on invisible fields.

For more details, please continue to read the highlights on the next page:

  • 1
  • 2
  • Next Page

Related Article

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.