摘要: CREATE LANGUAGE plpgsql CREATE or REPLACE function getDatirenshu(w_wjID int)RETURNS INTEGERas 'DECLARE datiRenshu INTEGER;BEGIN select count(id) into datiRenshu from rfwenjuan_yuanshij... 阅读全文
posted @ 2015-10-27 17:26 springday 阅读(521) 评论(0) 推荐(0) 编辑
摘要: 引自 PostgreSQL Server Programming-Second Editionpage81: 大部分时候,我们不需要快速的代码,而是能用的程序。 remember that most of the time,you don't need the absolutely fastest code. For your clients or bosses,the best co... 阅读全文
posted @ 2015-10-27 07:47 springday 阅读(145) 评论(0) 推荐(0) 编辑