doc-exports/docs/dws/dev/dws_04_0513.html
Lu, Huayi e6fa411af0 DWS DEV 830.201 version
Reviewed-by: Pruthi, Vineet <vineet.pruthi@t-systems.com>
Co-authored-by: Lu, Huayi <luhuayi@huawei.com>
Co-committed-by: Lu, Huayi <luhuayi@huawei.com>
2024-05-16 07:24:04 +00:00

1.2 KiB

Stored Procedure

In GaussDB(DWS), business rules and logics are saved as stored procedures.

A stored procedure is a combination of SQL, PL/SQL, and Java statements, enabling business rule code to be moved from applications to databases and used by multiple programs at a time.

For details about how to create and invoke a stored procedure, see section "CREATE PROCEDURE" in SQL Syntax.

The functions and stored procedures created by using PL/pgSQL in PL/pgSQL Functions are applicable to all the following sections.