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:
ASCIISTR
BIN_TO_NUM
COALESCE
COMPOSE
CURRENT_DATE
CURRENT_TIMESTAMP
DBTIMEZONE
DECOMPOSE
EXISTSNODE
EXTRACT (datetime)
EXTRACT (XML)
FIRST
FROM_TZ
GROUP_ID
GROUPING_ID
LAST
LOCALTIMESTAMP
NULLIF
PERCENTILE_CONT
PERCENTILE_DISC
RAWTONHEX
ROWIDTONCHAR
SESSIONTIMEZONE
SYS_CONNECT_BY_PATH
SYS_DBURIGEN
SYS_EXTRACT_UTC
SYS_XMLAGG
SYS_XMLGEN
SYSTIMESTAMP
TO_CHAR (character)
TO_CLOB
TO_DSINTERVAL
TO_NCHAR (character)
TO_NCHAR (datetime)
TO_NCHAR (number)
TO_NCLOB
TO_TIMESTAMP
TO_TIMESTAMP_TZ
TO_YMINTERVAL
TREAT
TZ_OFFSET
UNISTR
WIDTH_BUCKET
The 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:
BITAND
CORR
COVAR_POP
COVAR_SAMP
CUME_DIST
DENSE_RANK
FIRST_VALUE
LAG
LAST_VALUE
LEAD
NTILE
NUMTOYMINTERVAL
NUMTODSINTERVAL
NVL2
PERCENT_RANK
RANK
RATIO_TO_REPORT
STDDEV_POP
STDDEV_SAMP
VAR_POP
VAR_SAMP
The following top-level SQL statements were new to Release 8.1.5:
ALTER DIMENSION
ALTER JAVA
ALTER OUTLINE
ASSOCIATE STATISTICS
CALL
CREATE CONTEXT
CREATE DIMENSION
CREATE INDEXTYPE
CREATE JAVA
CREATE OPERATOR
CREATE OUTLINE
CREATE TEMPORARY TABLESPACE
DISASSOCIATE STATISTICS
DROP CONTEXT
DROP DIMENSION
DROP INDEXTYPE
DROP JAVA
DROP OPERATOR
DROP OUTLINE
In addition, the following features were enhanced:
CREATE TABLE
.