# 子程序
存储在数据库中的存储过程、函数、操作符以及高级包等对象。
在数据库上建立好后子程序后，即可在其他程序中调用。
- **[独立的子程序](https://support.huaweicloud.com/distributed-ref-v10-gaussdb/gaussdb-08-0433.html)**   
- **[包内的子程序](https://support.huaweicloud.com/distributed-ref-v10-gaussdb/gaussdb-08-0434.html)**   
- **[嵌套的子程序](https://support.huaweicloud.com/distributed-ref-v10-gaussdb/gaussdb-08-0435.html)**   
