Removes a class, a package, or a JAR file from a database. Removed classes are no longer available for use as a variable type.
REMOVE JAVA classes_to_remove
REMOVE JAVA CLASS Demo
Any class, package, or JAR to be removed must already be installed.
java_class_name—The name of one or more Java classes to be removed. Those classes must be installed classes in the current database.
java_package_name—The name of one or more Java packages to be removed. Those packages must be the name of packages in the current database.
jar_name—A character string value of maximum length 255.
Each jar_name must be equal to the jar_name of a retained JAR in the current database. Equality of jar_name is determined by the character string comparison rules of the SQL system.
If JAR...RETAIN CLASSES is specified, the specified JARs are no longer retained in the database, and the retained classes have no associated JAR. If RETAIN CLASSES is specified, this is the only action of the REMOVE statement.
SQL—Vendor extension to ISO/ANSI SQL grammar.
Sybase—Not supported by Adaptive Server Enterprise. A similar feature is available in an Adaptive Server Enterprise-compatible manner using nested transactions.
Must have DBA authority or must own the object.