You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: EN/modules/ROOT/pages/v4.0/28.adoc
+6-6Lines changed: 6 additions & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -7,13 +7,13 @@
7
7
8
8
== Objective
9
9
10
-
IvorySQL provides compatibility for Oracle custom packages.A package is an encapsulated collection of related program objects stored together in the database. Program objects are procedures, functions, variables, constants, cursors, and exceptions.
10
+
IvorySQL provides compatibility for Oracle packages.A package is an encapsulated collection of related program objects stored together in the database. Program objects are procedures, functions, variables, constants, cursors, and exceptions.
11
11
12
-
This document aims to provide a comprehensive understanding of the process of implementing custom packages for the users.
12
+
This document aims to provide a comprehensive understanding of the process of implementing custom packages.
13
13
14
14
== Function descriptions
15
15
16
-
IvorySQL provides compatibility for Oracle custom packages,including creation,alteration,and description of packages and package bodies,adds support for package-related commands in the PostgreSQL interactive terminal (psql) with the new \dk command.
16
+
IvorySQL provides compatibility for Oracle custom packages,including creation,alteration,and deletion of packages and package bodies. We also add support for package-related commands in the PostgreSQL interactive terminal (psql) with the new \dk command.
17
17
18
18
=== Create the specification of a package
19
19
@@ -23,7 +23,7 @@ To create or replace the specification of a package in your own schema, you must
23
23
24
24
=== Create package body
25
25
26
-
The CREATE OR REPLACE PACKAGE BODY statement is used to create or replace a package body.To create a package body requires the same privileges as creating the specification of a package, and it is required that the package body and package specification be in the same schema, with the package specification already existing. This statement defines the objects declared in the package specification.
26
+
The CREATE OR REPLACE PACKAGE BODY statement is used to create or replace a package body.To create a package body requires the same privileges as creating the specification of a package, and it is required that the package body and package specification be in the same schema, with the package specification already existing. This statement defines the objects declared in the package specification.
27
27
28
28
When the package specification contains cursors or subprograms, a package body must be present to define them. Otherwise, the package body is optional.
29
29
@@ -33,7 +33,7 @@ The ALTER PACKAGE statement is used to modify the properties of a package.The pr
33
33
34
34
=== Drop package and package body
35
35
36
-
The DROP PACKAGE statement deletes a stored package in the database. This statement will remove both the package body and the package specification.The DROP PACKAGE BODY statement only deletes the package body.
36
+
The DROP PACKAGE statement deletes a package in the database. This statement will remove both the package body and the package specification.The DROP PACKAGE BODY statement only deletes the package body.
37
37
38
38
It is not possible to delete a single object within the package using this statement. The privileges required:the package must be in the user's schema, or the user must have the DROP ANY PROCEDURE system privilege.
0 commit comments