CREATE OR ALTER PACKAGE
Creates a package header if it does not exist, or alters a package header
DSQL
CREATE OR ALTER PACKAGE package_name
[SQL SECURITY {INVOKER | DEFINER}]
AS
BEGIN
[ <package_item> ... ]
END
!! See syntax of CREATE PACKAGE
for further rules!!
The CREATE OR ALTER PACKAGE
statement creates a new package or modifies an existing package header.If the package header does not exist, it will be created using CREATE PACKAGE
.If it already exists, then it will be modified using ALTER PACKAGE
while retaining existing privileges and dependencies.