GET_NUM_ROWS

This procedure returns the number of rows in the specified matrix.

Usage

The GET_NUM_ROWS stored procedure has the following syntax:
GET_NUM_ROWS(mat_name)
Parameters
mat_name
The name of the matrix.
Returns
INT4 The number of rows in the matrix.

Examples

CALL nzm..shape('1,2,3,4,5,0,6,7,8', 3, 3, 'A');
CALL nzm..get_num_rows('A');
CALL nzm..delete_matrix('A');

 SHAPE
-------
 t
(1 row)

 GET_NUM_ROWS
--------------
 3
(1 row)

 DELETE_MATRIX
---------------
 t
(1 row)