| Oracle9i SQL Reference Release 2 (9.2) Part Number A96540-02 |
|
|
View PDF |
This section describes new features of Oracle9i release 2 and provides pointers to additional information. New features information from previous releases is also retained to help those users upgrading to the current release.
The following sections describe the new features in the Oracle9i SQL Reference:
The following built-in conditions are new to this release:
The following built-in expression is enhanced in this release:
The following built-in functions are new to this release:
The following privileges are new or enhanced in this release:
The following top-level SQL statements are new or enhanced in this release:
XMLType and for creating range-list composite-partitioned tablesNCHAR, NVARCHAR2, and NCLOB attributes.XMLType.The following built-in datatypes were new or modified in this release:
CHAR or BYTE parameter to indicate character or byte semantics, respectively.CHAR or BYTE parameter to indicate character or byte semantics, respectively.The following expression forms were new or enhanced in this release:
REF CURSOR arguments to functions)The following condition was new in this release:
The following built-in functions were new to this release:
ASCIISTRBIN_TO_NUMCOALESCECOMPOSECURRENT_DATECURRENT_TIMESTAMPDBTIMEZONEDECOMPOSEEXISTSNODEEXTRACT (datetime)EXTRACT (XML)FIRSTFROM_TZGROUP_IDGROUPING_IDLASTLOCALTIMESTAMPNULLIFPERCENTILE_CONTPERCENTILE_DISCRAWTONHEXROWIDTONCHARSESSIONTIMEZONESYS_CONNECT_BY_PATHSYS_DBURIGENSYS_EXTRACT_UTCSYS_XMLAGGSYS_XMLGENSYSTIMESTAMPTO_CHAR (character)TO_CLOBTO_DSINTERVALTO_NCHAR (character)TO_NCHAR (datetime)TO_NCHAR (number)TO_NCLOBTO_TIMESTAMPTO_TIMESTAMP_TZTO_YMINTERVALTREATTZ_OFFSETUNISTRWIDTH_BUCKETThe following functions were enhanced for this release:
The following privileges were new to this release:
EXEMPT ACCESS POLICY system privilegeRESUMABLE system privilegeSELECT ANY DICTIONARY system privilegeUNDER ANY TYPE system privilegeUNDER ANY VIEW system privilegeUNDER object privilegeThe following top-level SQL statements were new to this release:
The following SQL statements had new syntax:
ALTER DATABASE has new syntax that lets you end a "hot backup" procedure while the database is mounted. It also has new syntax related to standby databases.ALTER INDEX lets you gather statistics on index usage.ALTER OUTLINE allows modification of both public and private outlines.ALTER ROLE lets you identify a role using an application-specified package.ALTER SESSION lets you specify whether statements issued during the session can be suspended under some conditions.ALTER SYSTEM has extended SET clause and new RESET clause; lets you put the database in quiesed state.ALTER TABLE allows partitioning by a list of specified values.ALTER TYPE lets you modify the attribute or method definition of an object type.ALTER VIEW lets you add constraints to views.ANALYZE now has ONLINE and OFFLINE clauses as part of the VALIDATE STRUCTURE syntax. In addition, you can now choose whether to collect standard statistics, user-defined statistics, or both.constraints has been enhanced to facilitate index handling when dropping or disabling constraints.CREATE CONTEXT has added syntax to let you initialize the context from the LDAP directory or from an OCI interface and to make the context accessible throughout an instance.CREATE CONTROLFILE allows creation of Oracle-managed files.CREATE DATABASE lets you create default temporary tablespaces when you create the database; lets you create undo tablespaces.CREATE FUNCTION lets you create pipelined and parallel table functions and user-defined aggregate functions.CREATE OUTLINE allows creation of both public and private outlines.CREATE ROLE lets you identify a role using an application-specified package.CREATE TABLE allows creation of external tables (tables whose data is outside the database); allows creation of Oracle-managed files; allows partitioning by a list of specified values.CREATE TABLESPACE allows for segment space management by bitmaps as well as by free lists; allows creation of Oracle-managed files; lets you create undo tablespaces.CREATE TEMPORARY TABLESPACE allows creation of Oracle-managed files.CREATE TYPE lets you create subtypes.CREATE VIEW lets you create subviews of object views; lets you define constraints on views.DROP TABLESPACE has added syntax that lets you drop operating system files when you drop the contents from a dropped tablespace.file_specification allows creation of Oracle-managed files.INSERT has added syntax that lets you insert default column values.SELECT lets you specify multiple groupings in the GROUP BY clause, for selective analysis across multiple dimensions; lets you assign names to subquery blocks; has new ANSI-compliant join syntax.SET TRANSACTION lets you specify a name for a transaction.UPDATE has added syntax that lets you update to default column values.The following SQL functions were new to this version:
BITANDCORRCOVAR_POPCOVAR_SAMPCUME_DISTDENSE_RANKFIRST_VALUELAGLAST_VALUELEADNTILENUMTOYMINTERVALNUMTODSINTERVALNVL2PERCENT_RANKRANKRATIO_TO_REPORTSTDDEV_POPSTDDEV_SAMPVAR_POPVAR_SAMPThe following top-level SQL statements were new to Release 8.1.5:
ALTER DIMENSIONALTER JAVAALTER OUTLINEASSOCIATE STATISTICSCALLCREATE CONTEXTCREATE DIMENSIONCREATE INDEXTYPECREATE JAVACREATE OPERATORCREATE OUTLINECREATE TEMPORARY TABLESPACEDISASSOCIATE STATISTICSDROP CONTEXTDROP DIMENSIONDROP INDEXTYPEDROP JAVADROP OPERATORDROP OUTLINEIn addition, the following features were enhanced:
CREATE TABLE.