Comments - CREATE PACKAGE BODY

5 years, 2 months ago Alexander Barkov

To call a package routine (procedure or function) from another routine of the same package, just use the routine name:

CALL p1(); SELECT f1();

To call public package routines outside of the package, use the package name as a qualifier:

CALL pgk1.p1(); SELECT pkg1.f1();

 
Content reproduced on this site is the property of its respective owners, and this content is not reviewed in advance by MariaDB. The views, information and opinions expressed by this content do not necessarily represent those of MariaDB or any other party.