Guy Fraser <[EMAIL PROTECTED]> writes:

> So to answer his question he would likely want :
> 
> SELECT
>  array_upper(item,1) - array_upper(item,0) + 1 as elements
> FROM
>  arraytest ;

Note that this doesn't work for empty arrays. 
It will return NULL instead of 0.


-- 
greg


---------------------------(end of broadcast)---------------------------
TIP 5: don't forget to increase your free space map settings

Reply via email to