SQL*Plus®

Release Notes

Release 11.2.0.2

E16608-01

August 2010

About these Release Notes

This document summarizes requirements, differences between SQL*Plus and its documented functionality, new features in this release and support information.

It contains the following topics:

Documentation Accessibility

Certification

New Features in SQL*Plus

New Features in Previous Releases

Bugs Fixed

Support

Desupport Notices

Documentation Accessibility

Our goal is to make Oracle products, services, and supporting documentation accessible to all users, including users that are disabled. To that end, our documentation includes features that make information available to users of assistive technology. This documentation is available in HTML format, and contains markup to facilitate access by the disabled community. Accessibility standards will continue to evolve over time, and Oracle is actively engaged with other market-leading technology vendors to address technical obstacles so that our documentation can be accessible to all of our customers. For more information, visit the Oracle Accessibility Program Web site at http://www.oracle.com/accessibility/.

Accessibility of Code Examples in Documentation

Screen readers may not always correctly read the code examples in this document. The conventions for writing code require that closing braces should appear on an otherwise empty line; however, some screen readers may not always read a line of text that consists solely of a bracket or brace.

Accessibility of Links to External Web Sites in Documentation

This documentation may contain links to Web sites of other companies or organizations that Oracle does not own or control. Oracle neither evaluates nor makes any representations regarding the accessibility of these Web sites.

Deaf/Hard of Hearing Access to Oracle Support Services

To reach Oracle Support Services, use a telecommunications relay service (TRS) to call Oracle Support at 1.800.223.1711. An Oracle Support Services engineer will handle technical issues and provide customer support according to the Oracle service request process. Information about TRS is available at http://www.fcc.gov/cgb/consumerfacts/trs.html, and a list of phone numbers is available at http://www.fcc.gov/cgb/dro/trsphonebk.html.

Certification

SQL*Plus is certified against the operating systems set out in the operating-system specific Oracle Database documentation.

SQL*Plus is certified against Oracle Database 11g Release 2 (11.2) and all supported versions of the Oracle Server.

New Features in SQL*Plus

SQL*Plus Release 11.2.0.2 is a superset of SQL*Plus Release 11.2.

This section describes new features introduced in this release of SQL*Plus. Some features may be affected by the SQLPLUSCOMPATIBILITY setting. See the SET SQLPLUSCOMPATIBILITY Matrix in chapter 12, "SQL*Plus Command Reference" in the SQL*Plus User's Guide and Reference.

SET XMLOPTIMIZATIONCHECK

SET XMLOPTIMIZATIONCHECK specifies that only fully optimized XML queries and DML operations are executed. It is only to assist during code development and debugging.

New Features in Previous Releases

This section lists new features introduced to SQL*Plus in previous releases.

New Features in SQL*Plus 11.2 Production

Editions Option

SET EXITCOMMIT

FAN Events in a RAC Database

New Features in SQL*Plus 11.1 Production

SET ERRORLOGGING command enables error logging of SQL, PL/SQL and SQL*Plus errors.

SQL*Plus supports standard querying of tables and objects containing BLOB and BFILE datatypes.

SET ESCCHAR command enables specific characters in file names to be escaped.

The SQLPLUS command -F argument enables SQL*Plus to receive FAN events from a RAC database.

New Features in SQL*Plus 10.2 Production

XQUERY is a new SQL*Plus command that enables you to run XQueries against your database from SQL*Plus ERRORLOGGING command enables error logging of SQL, PL/SQL and SQL*Plus errors.

New Features in SQL*Plus 10.1 Production

Glogin and Login Calls

SQL*Plus Site Profile and User Profile Changes

SET SQLPROMPT

Predefined Substitution Variables: _DATE, _PRIVILEGE, and _USER

Changes to SET SERVEROUTPUT ON

SHOW RECYCLEBIN

APPEND, CREATE, and REPLACE Extensions to SPOOL Command

SQLPLUS -C[OMPATIBILITY] Argument

Whitespace Support in File and Path Names in Windows

Improved Messages and Prompts

SET PAGESIZE Default

Windows Specific Information

Bugs Fixed

The following section lists bugs fixed in SQL*Plus. Numbers in parentheses following the problem description refer to bug numbers in the Oracle Bug Database.

Bugs Fixed in SQL*Plus Release 11.2.0.2

SPERRORLOG now correctly displays the full statement (9559937)

SQL*Plus unexpected termination in NLS environment fixed. (9575131)

SQL*Plus WHENEVER commands can now be disabled. (9298298)

Wildcard behavior in EDIT documented. (9046816)

SHUTDOWN IMMEDIATE no longer hangs. (8299200)

Internal changes (9587831, 9587716, 9587244, 9370232, 9437352, 9379339, 9370460, 9370232, 9328006, 9226453, 9299444, 9226453, 7676775)

Bugs Fixed in SQL*Plus Release 11.2

The -F option is no longer required to receive FAN events from a RAC database on UNIX/Linux computers. (6660746, 8352590)

SQL*Plus no longer hangs when using the HOST command on Apple Mac (7529591)

Disabling the SQL*Plus DEL command in the PRODUCT_USER_PROFILE no longer disables the SQL DELETE command (7462252)

When SQL*Plus is started with the -S option, the ACCEPT command with HIDE option no longer displays the value entered (3863763)

DESCRIBE procedure @ db link now displays the procedure name correctly (7259464)

Correct feedback message is now displayed for PASSWORD command (7258594)

SQL*Plus now runs SQL scripts with file names containing spaces (7150873)

STARTUP command with READ ONLY option no longer generates an internal error (6981649)

AUTOTRACE command for huge amount of data no longer generates an internal error (6718674)

Control-C now works during the running of a script (6499532)

Executing RDBMS_METADATA.GET_DDL no longer truncates output in the JA16SJIS client character set (6459688)

SQL*Plus no longer generates an internal error when NLS_DATE_FORMAT is set incorrectly, (6376008)

The SPOOL command now has the same behavior as previous releases (6214990)

Error ORA-1031 no longer occurs when SQLNET.AUTHENTICATION_SERVICES=(NONE) (5997159)

SHOW ALL no longer generates an SP2-0308 message on IBM zSeries platforms (3989135)

AUTOTRACE no longer generates an ORA-1012 message after DB shutdown and startup in the same session (3445839)

EXIT command now returns the correct status code (2697996)

SHOW ERROR now shows the correct error for ALTER PACKAGE with embedded comments (2223969)

Internal changes (8356309, 8337410, 8337402, 8337395, 8308134, 8229404, 7571278, 7521006, 6605695, 6350579, 6340232,6261618, 6110590, 5081837, 4176440, 3975044, 3243405, 2833775, 1134891)

Support

For SQL*Plus support, please contact your local Oracle Support Services Center.

Desupport Notices

This section gives advance notice of the desupport of SQL*Plus commands and interfaces. It is not official notice of desupport dates, nor is it intended to replace the Oracle obsolescence process. This information provides you with advance warning that Oracle Corporation intends to desupport these features/interfaces in upcoming releases.

Windows Graphical User Interface

The SQL*Plus for Windows graphical user interface (GUI) was desupported in SQL*Plus Release 11.1. In Oracle Database 11g Release 1 (11.1) or later, Oracle recommends using one of the following:

SQL*Plus command line

Oracle Application Express

Oracle SQL Developer

iSQL*Plus User Interface

The iSQL*Plus user interface was desupported in SQL*Plus Release 11.1. In Oracle Database 11g Release 1 (11.1) or later, Oracle recommends using one of the following:

SQL*Plus command line

Oracle Application Express

Oracle SQL Developer

SQL*Plus Release Notes, Release 11.2.0.2

E16608-01

Copyright © 1996, 2010, Oracle and/or its affiliates. All rights reserved.

This software and related documentation are provided under a license agreement containing restrictions on use and disclosure and are protected by intellectual property laws. Except as expressly permitted in your license agreement or allowed by law, you may not use, copy, reproduce, translate, broadcast, modify, license, transmit, distribute, exhibit, perform, publish, or display any part, in any form, or by any means. Reverse engineering, disassembly, or decompilation of this software, unless required by law for interoperability, is prohibited.

The information contained herein is subject to change without notice and is not warranted to be error-free. If you find any errors, please report them to us in writing.

If this software or related documentation is delivered to the U.S. Government or anyone licensing it on behalf of the U.S. Government, the following notice is applicable:

U.S. GOVERNMENT RIGHTS Programs, software, databases, and related documentation and technical data delivered to U.S. Government customers are "commercial computer software" or "commercial technical data" pursuant to the applicable Federal Acquisition Regulation and agency-specific supplemental regulations. As such, the use, duplication, disclosure, modification, and adaptation shall be subject to the restrictions and license terms set forth in the applicable Government contract, and, to the extent applicable by the terms of the Government contract, the additional rights set forth in FAR 52.227-19, Commercial Computer Software License (December 2007). Oracle USA, Inc., 500 Oracle Parkway, Redwood City, CA 94065.

This software is developed for general use in a variety of information management applications. It is not developed or intended for use in any inherently dangerous applications, including applications which may create a risk of personal injury. If you use this software in dangerous applications, then you shall be responsible to take all appropriate fail-safe, backup, redundancy, and other measures to ensure the safe use of this software. Oracle Corporation and its affiliates disclaim any liability for any damages caused by use of this software in dangerous applications.

Oracle is a registered trademark of Oracle Corporation and/or its affiliates. Other names may be trademarks of their respective owners.

This software and documentation may provide access to or information on content, products, and services from third parties. Oracle Corporation and its affiliates are not responsible for and expressly disclaim all warranties of any kind with respect to third-party content, products, and services. Oracle Corporation and its affiliates will not be responsible for any loss, costs, or damages incurred due to your access to or use of third-party content, products, or services.

Oracle Legal Notices

Copyright Notice

Copyright © 1994-2012, Oracle and/or its affiliates. All rights reserved.

Trademark Notice

Oracle and Java are registered trademarks of Oracle and/or its affiliates. Other names may be trademarks of their respective owners.

Intel and Intel Xeon are trademarks or registered trademarks of Intel Corporation. All SPARC trademarks are used under license and are trademarks or registered trademarks of SPARC International, Inc. AMD, Opteron, the AMD logo, and the AMD Opteron logo are trademarks or registered trademarks of Advanced Micro Devices. UNIX is a registered trademark of The Open Group.

License Restrictions Warranty/Consequential Damages Disclaimer

This software and related documentation are provided under a license agreement containing restrictions on use and disclosure and are protected by intellectual property laws. Except as expressly permitted in your license agreement or allowed by law, you may not use, copy, reproduce, translate, broadcast, modify, license, transmit, distribute, exhibit, perform, publish, or display any part, in any form, or by any means. Reverse engineering, disassembly, or decompilation of this software, unless required by law for interoperability, is prohibited.

Warranty Disclaimer

The information contained herein is subject to change without notice and is not warranted to be error-free. If you find any errors, please report them to us in writing.

Restricted Rights Notice

If this is software or related documentation that is delivered to the U.S. Government or anyone licensing it on behalf of the U.S. Government, the following notice is applicable:

U.S. GOVERNMENT RIGHTS Programs, software, databases, and related documentation and technical data delivered to U.S. Government customers are "commercial computer software" or "commercial technical data" pursuant to the applicable Federal Acquisition Regulation and agency-specific supplemental regulations. As such, the use, duplication, disclosure, modification, and adaptation shall be subject to the restrictions and license terms set forth in the applicable Government contract, and, to the extent applicable by the terms of the Government contract, the additional rights set forth in FAR 52.227-19, Commercial Computer Software License (December 2007). Oracle America, Inc., 500 Oracle Parkway, Redwood City, CA 94065.

Hazardous Applications Notice

This software or hardware is developed for general use in a variety of information management applications. It is not developed or intended for use in any inherently dangerous applications, including applications that may create a risk of personal injury. If you use this software or hardware in dangerous applications, then you shall be responsible to take all appropriate fail-safe, backup, redundancy, and other measures to ensure its safe use. Oracle Corporation and its affiliates disclaim any liability for any damages caused by use of this software or hardware in dangerous applications.

Third-Party Content, Products, and Services Disclaimer

This software or hardware and documentation may provide access to or information on content, products, and services from third parties. Oracle Corporation and its affiliates are not responsible for and expressly disclaim all warranties of any kind with respect to third-party content, products, and services. Oracle Corporation and its affiliates will not be responsible for any loss, costs, or damages incurred due to your access to or use of third-party content, products, or services.

Alpha and Beta Draft Documentation Notice

If this document is in prerelease status:

This documentation is in prerelease status and is intended for demonstration and preliminary use only. It may not be specific to the hardware on which you are using the software. Oracle Corporation and its affiliates are not responsible for and expressly disclaim all warranties of any kind with respect to this documentation and will not be responsible for any loss, costs, or damages incurred due to the use of this documentation.