Please enable JavaScript to view this site.

R:BASE 11 Help

Navigation: Function Index > I > ISTAT

DBSIZE

Scroll Prev Top Next More

(ISTAT('DBSIZE'))

 

DBSIZE returns the size of the currently open database (total of the four database files). If no database is connected, ISTAT returns 0.

 

If you wish to check for a database size that is over 2 gigabytes you must use a data type which supports a larger number.

 

SET VAR vDatabaseSize DOUBLE = (ISTAT('DBSIZE'))

 

This is necessary because the default data type returned by the function, INTEGER, cannot hold the required number of digits to report over 2 gigabytes.