how to check the size of the table in sql server in database code example
Example: check size of table sql
SELECT pg_size_pretty( pg_total_relation_size('tablename') );
(postgres)
SELECT pg_size_pretty( pg_total_relation_size('tablename') );
(postgres)