PG 函数-string_agg

string_agg:PG中string_agg 类似于oracle中的listagg

报错:integer out of range

select 10*1024*1024*1024 这个就报错
select 10*1024*1024*1024::bigint 这样写就不报错

position:类似于oracle中的instr

SELECT position('aa' in 'kkjaadsd')

 

 

posted on 2019-11-12 08:38  rainbo007  阅读(1158)  评论(0编辑  收藏  举报

导航