select count(*)
from information_schema.tables;
Eller hvis du kun vil finde antallet af tabeller for et bestemt skema:
select count(*)
from information_schema.tables
where table_schema = 'public';
select count(*)
from information_schema.tables;
Eller hvis du kun vil finde antallet af tabeller for et bestemt skema:
select count(*)
from information_schema.tables
where table_schema = 'public';