Deprecated language features have been retained temporarily for backward compatibility but will eventually be removed from the language. Deprecation announces a grace period to allow a smooth transition from the old features to the new ones. In that period, no use of the deprecated features should be added to the code, and all existing usages should be gradually removed.

The following features are deprecated in Oracle 12:

[frame=all]
[cols="^1,^1"]
|===
|Deprecated |Replacement

|DBMS_DDL.ALTER_COMPILE | Native Dynamic SQL
|ALL_SCHEDULER_CREDENTIALS | ALL_CREDENTIALS
|DBA_NETWORK_ACL_PRIVILEGES | DBA_HOST_ACES
|DBA_NETWORK_ACLS| DBA_HOST_ACLS
|DBA_SCHEDULER_CREDENTIALS| DBA_CREDENTIALS
|USER_NETWORK_ACL_PRIVILEGES | USER_HOST_ACES
|USER_SCHEDULER_CREDENTIALS | DBA_HOST_ACES
|V$OBJECT_USAGE | USER_OBJECT_USAGE
|SYS_XMLGEN | SQL/XML-generation functions
|EXISTSNODE | XMLEXISTS
|DELETEXML| XQuery Update
|APPENDCHILDXML | XQuery Update
|INSERTCHILDXML | XQuery Update
|INSERTXMLBEFORE | XQuery Update
|INSERTXMLAFTER | XQuery Update
|INSERTCHILDXMLBEFORE | XQuery Update
|INSERTCHILDXMLAFTER | XQuery Update
|UPDATEXML | XQuery Update
|EXTRACTVALUE | XMLTABLE, or the XMLCAST and XMLQUERY
|XMLSEQUENCE | XMLTABLE
|===

== See

* https://docs.oracle.com/en/database/oracle/oracle-database/21/adxdb/xquery-and-XML-DB.html[XQUERY Language]
* https://oracle-base.com/articles/misc/sqlxml-sqlx-generating-xml-content-using-sql[SQL/XML-generation functions]

ifdef::env-github,rspecator-view[]

'''
== Implementation Specification
(visible only on this page)

include::message.adoc[]

include::highlighting.adoc[]

endif::env-github,rspecator-view[]
