October 2001
Beginner to intermediate
400 pages
7h 45m
English
Some of the included PostgreSQL functions do not fall neatly into a specific category. This section outlines one example of this type of function.
The ARRAY_DIMS function returns the number of elements stored in an array field.
ARRAY_DIMS (col)
SELECT ARRAY_DIMS(testscore) FROM students; array_dims ---------- [1:4]
Read now
Unlock full access