如果使用plpgsql
需要先运行这个命令:
CREATE LANGUAGE plpgsql
不然会报错:
关于如何些存储过程,这里说的很全面了
http://bianbian.org/technology/52.html
postgre官网解说
http://www.postgresql.org/docs/8.3/static/plpgsql.html
需要先运行这个命令:
CREATE LANGUAGE plpgsql
不然会报错:
ERROR: language "plpgsql" does not exist
关于如何些存储过程,这里说的很全面了
http://bianbian.org/technology/52.html
postgre官网解说
http://www.postgresql.org/docs/8.3/static/plpgsql.html
本文介绍在PostgreSQL中启用PL/pgSQL语言的过程,并提供创建存储过程的基本指南。若未事先配置PL/pgSQL,将遇到语言不存在的错误提示。文章包含实用链接,详细解说PL/pgSQL的使用方法。
807

被折叠的 条评论
为什么被折叠?



