官术网_书友最值得收藏!

Summary

PL/pgSQL is the default language used in PostgreSQL to implement runnable pieces of code. It can be used to implement functions, procedures, triggers, and so on. The language allows you to easily interact with the underlying database while providing foundations for iterations, conditionals, and exception handling, or, in short, all the features of a standalone programming language.

Thanks to the DO statement, it is possible to test and run a piece of code as an anonymous block of code. In the next chapters, we will learn how to use the language to implement reusable pieces of code such as functions and procedures.

主站蜘蛛池模板: 枝江市| 山阳县| 延吉市| 上高县| 河西区| 靖边县| 新乡县| 博客| 驻马店市| 长岭县| 宁强县| 龙井市| 眉山市| 吉林省| 正阳县| 岳池县| 酒泉市| 朔州市| 三门县| 武冈市| 广河县| 延寿县| 虞城县| 卓尼县| 襄汾县| 抚顺市| 平定县| 灯塔市| 田东县| 万盛区| 申扎县| 达尔| 师宗县| 台江县| 綦江县| 韶山市| 西乌珠穆沁旗| 紫金县| 广东省| 吉水县| 鲜城|