Můžete to udělat (v oracle, v mssql je to trochu jinak):
select count(*)
from all_objects
where object_type in ('TABLE','VIEW')
and object_name = 'your_table_name';
Můžete to udělat (v oracle, v mssql je to trochu jinak):
select count(*)
from all_objects
where object_type in ('TABLE','VIEW')
and object_name = 'your_table_name';